aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs
Commit message (Collapse)AuthorAgeFilesLines
...
* configs/manager.py: Add "frequencies" propertyAaron LI2016-10-041-0/+16
| | | | | The "frequencies" property will return or calculate the frequency values of the simulation.
* Update the default config specifications.Aaron LI2016-10-032-6/+14
| | | | | | * Add new configs for the [frequency] section * Use "None" as the default value for some configs * Fix the syntax of "cosmology/OmegaM0"
* Add custom configuration checkers.Aaron LI2016-10-032-0/+95
| | | | | These additional checker functions validate the required configs whether provided by the user config file, as well as against necessary contexts.
* Arrange customs errors/exceptions in a moduleAaron LI2016-10-031-4/+1
|
* Update general configurations and synchrotron configsAaron LI2016-10-032-1/+12
|
* configs: Add sample config spec for galactic componentsAaron LI2016-10-021-0/+30
|
* configs: Add new sections to "00-general.conf.spec"Aaron LI2016-10-021-0/+66
| | | | | | | | These new sections added: * common * frequency * output * cosmology
* configs/manager.py: Add "getn()" method to get multi-level config valueAaron LI2016-10-021-0/+25
|
* configs/manager.py: Refactor "get()" method and remove "set()"Aaron LI2016-10-021-8/+1
|
* configs: Update comments for the logging configsAaron LI2016-10-021-2/+6
|
* configs/manager.py: Make "validate()" method private.Aaron LI2016-09-301-8/+8
| | | | Also unify the quote style.
* configs/manager.py: Update docstrings.Aaron LI2016-09-301-2/+21
| | | | The NumPy docstring style is used.
* utils/logging: reset handlers before initialization/reconfigurationAaron LI2016-09-291-1/+7
| | | | Also improve the comments.
* configs/manager.py: Add "filemode" to the logging dictAaron LI2016-09-291-1/+3
|
* configs: Minor adjustment to logging formatAaron LI2016-09-291-1/+1
|
* configs: Fix ConfigError and disable interpolationAaron LI2016-09-291-3/+9
| | | | | | Since we do not use string interpolation in configs, so disable this feature, otherwise `MissingInterpolationOption` error happens due to the "logging" configs which contains string formats.
* configs: Add default config spec for loggingAaron LI2016-09-291-0/+34
|
* configs/manager.py: Add property "logging"Aaron LI2016-09-291-2/+28
| | | | | | | This "logging" property get and perpare the configurations for `logging.basicConfig()` use. Needs testing.
* Implement the basic ConfigManger()Aaron LI2016-09-272-0/+80
This is very basic at the moment, and needs many improvements. Thanks: https://github.com/pazz/alot TODO: Add config specifications with default values