aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/checkers.py
Commit message (Collapse)AuthorAgeFilesLines
* clusters: Use "hmf" to calculate halo mass functions/distributionsAaron LI2017-10-041-2/+5
| | | | | | | | | | | | * New dependency "hmf" (halo mass functions) module * Calculate halo mass distributions/functions (dndlnm) with respect to masses and redshifts, instead of use the previous data file ("ps_data") * New section "[extragalactic][psformalism]" in configurations * New functions to write and read the dndlnm data TODO: * update the method to sample (mass, redshift) for clusters from the dndlnm data
* clusters: Add option "use_output_catalog" to continue halo simulationAaron LI2017-09-031-0/+3
|
* configs: Update option descriptions; also tweak checkers a bitAaron LI2017-09-031-6/+2
|
* configs: Fix checker for "extragalactic/clusters" sectionAaron LI2017-08-291-1/+1
|
* configs: Delete obsolete checks on "{halphamap,dustmap}_unit"Aaron LI2017-08-271-4/+0
|
* configs: Clean up unused options; clean up checkers as wellAaron LI2017-08-261-2/+1
|
* configs: Remove option "save"; all enabled components will be savedAaron LI2017-08-261-8/+4
|
* foregrounds.py: Remove foreground components combinationAaron LI2017-08-261-12/+3
| | | | | * Remove output configs "combine", "combine_prefix", "output_dir" * Remove configuration checker "check_output"
* checkers.py: Drop resolution check to avoid circular importing errorAaron LI2017-07-211-7/+0
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* galactic/snr: Update to support the sky.pyAaron LI2017-05-221-1/+1
| | | | Also fix a typo in configs/checkers.py
* configs/checkers: Check SNR simulation resolution against pixel sizeAaron LI2017-05-211-0/+7
|
* configs: New "sky" section, and remove "common" sectionAaron LI2017-05-161-23/+27
| | | | * Update checkers accordingly
* configs: Use separate section "foregrounds" to config componentsAaron LI2017-05-161-15/+26
| | | | Also update copyright information.
* configs/checkers.py: Add checker "check_extragalactic_clusters()"Aaron LI2016-11-171-9/+28
|
* configs/checkers.py: Check missing before validating the valuesAaron LI2016-11-111-4/+12
|
* configs/checkers.py: Add "check_common()"Aaron LI2016-11-071-0/+25
|
* configs: Rename "validate.py" and update "validate_configs()"Aaron LI2016-11-041-0/+179
* Rename "validate.py" to "checkers.py", to avoid the confusion with the "validate" module from "configobj"; * Rename function "validate_configs()" to "check_configs()"; * "check_configs()": add optional parameter "raise_exception"; * "check_configs()": update to return both the result and errors dict.