aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs
Commit message (Collapse)AuthorAgeFilesLines
* Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO"Aaron LI2017-07-311-2/+0
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* galactic/freefree: Add "dust_fraction" and "halpha_abs_th" configsAaron LI2017-07-291-0/+12
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* galactic/freefree: Add config "electron_temperature"Aaron LI2017-07-291-0/+5
| | | | | | Update method "_calc_ratio_a()" to "_calc_factor_a()" Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/configs: Update "beta_turb" default to 1.0Aaron LI2017-07-271-1/+1
| | | | | | | This makes the simulation agree better with observations, e.g., <Jsyn> ~ 1e-42 [erg/s/cm^3/Hz] Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Update [[halos]] sections a bitAaron LI2017-07-251-5/+6
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/halo: Change config "eta_turb" to "beta_turb"Aaron LI2017-07-251-3/+2
| | | | | | | | | | This configuration option "beta_turb" has different meaning as "eta_turb" in [Cassano & Brunetti 2005], though they can both be an indicator for the turbulence acceleration efficiency. Rename this configuration option to make the difference more clear. Signed-off-by: Aaron LI <aly@aaronly.me>
* Use all uppercase to identify the global CONFIGS and COSMOAaron LI2017-07-221-2/+2
| | | | | | Update to use the global CONFIGS and COSMO Signed-off-by: Aaron LI <aly@aaronly.me>
* configs/manager.py: Add formatter for handlersAaron LI2017-07-221-1/+8
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Update cosmology parameters (Komatsu et al. 2011)Aaron LI2017-07-221-1/+2
| | | | | | References: Komatsu et al. 2011, ApJS, 192, 18; Tab.(1) Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/halo.py: More cleanups with minor updatesAaron LI2017-07-221-0/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add property "halo_configs"Aaron LI2017-07-221-27/+13
| | | | | | And update the config specification accordingly with some cleanups. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add "_magnetic_field()" methodAaron LI2017-07-211-8/+7
| | | | | | Also update the configurations Signed-off-by: Aaron LI <aly@aaronly.me>
* Fix parameter names about cosmologyAaron LI2017-07-211-2/+2
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* checkers.py: Drop resolution check to avoid circular importing errorAaron LI2017-07-211-7/+0
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Default to not generate products manifestAaron LI2017-07-211-2/+4
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs/manager.py: Add property "cosmology"Aaron LI2017-07-211-0/+15
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs/manager.py: get_path() return None if value is an empty stringAaron LI2017-07-211-2/+5
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Implement "_simulate_merger()"Aaron LI2017-07-201-9/+19
| | | | | | | | | | Simulate the formation history of each cluster and identify the last/recent major merger event. Also add new configuration option "tau_merger" and tweak several configurations options. Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Update default valuesAaron LI2017-07-192-12/+8
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Small updates to comments and configuration descriptionsAaron LI2017-07-191-7/+8
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Use [arcsec] as the unit for pixel size and resolutionAaron LI2017-07-193-7/+13
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* halo.py: Add property "zgrid" as well as config option "zbinsize"Aaron LI2017-06-241-1/+3
|
* halo.py: calculate magnetic field using a scaling relationAaron LI2017-06-231-3/+7
|
* cosmology: Use default parameters from configurationsAaron LI2017-06-231-0/+2
| | | | Also add configuration option "cosmology/Omegab0".
* Use keyword "BUNIT" and unit "K"Aaron LI2017-06-131-1/+1
|
* configs: Default to disable all foregroundsAaron LI2017-06-131-4/+4
|
* configs: extragalactic/halos: change "radius_halo" to "radius"Aaron LI2017-06-011-5/+4
|
* fg21sim/clusters: Save progress on halo simulationAaron LI2017-06-011-1/+1
|
* configs: Add sigma8 to specificationsAaron LI2017-06-011-0/+2
|
* Add clusters/formation.py: Simulate cluster merging historyAaron LI2017-06-011-0/+4
|
* halo.py: Force a minimal value on acceleration coefficientAaron LI2017-06-011-1/+1
| | | | | | | To avoid the too small (or zero) values for the diffusion coefficient of the Fokker-Planck equation. Also change config "extragalactic/halo/pmax" from 1e4 to 1e5
* clusters/halo: Add missing config "buffer_np"Aaron LI2017-06-011-0/+5
|
* Add "[extragalactic/halos]" configurationsAaron LI2017-06-011-0/+44
|
* 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
|
* galactic/synchrotron: Update to support sky.pyAaron LI2017-05-211-16/+32
| | | | | | | * Also update foregrounds.py to use sky.py * Minor fixes to configs/manager.py TODO: update synchrotron/add_smallscales() to also work with sky patch.
* configs : Drop "output/filetype"; only support FITSAaron LI2017-05-171-6/+3
|
* configs: New "sky" section, and remove "common" sectionAaron LI2017-05-163-37/+67
| | | | * Update checkers accordingly
* configs: Use separate section "foregrounds" to config componentsAaron LI2017-05-163-29/+61
| | | | Also update copyright information.
* galactic/snr.py: Small cleanup; Update default resolutionAaron LI2016-12-131-1/+1
|
* Minor updatesAaron LI2016-11-261-0/+5
|
* webui: configs: Some minor fixesAaron LI2016-11-221-5/+6
| | | | | | | | * configs.py/_set_configs(): Also return the original data if the input values failed the validation; * setServerConfigs(): Success callback also reset value if the input value failed pass the server-side validation; * getServerConfigs(): Return "undefined" if key does not exists.
* configs: Change default logging level to "DEBUG"Aaron LI2016-11-211-1/+1
|
* Add logging message on backing up old fileAaron LI2016-11-211-0/+1
|
* configs: Add new option "output/manifest"Aaron LI2016-11-201-0/+3
| | | | | The option "output/manifest" is the filename of the output manifest for the simulation products.
* configs: Update logging message formatAaron LI2016-11-171-1/+1
| | | | | * Also update the logging messages styles for the Web UI * Show a modal notification when the task finished.
* configs/checkers.py: Add checker "check_extragalactic_clusters()"Aaron LI2016-11-171-9/+28
|
* configs/manager.py: Make a backup when output file already existsAaron LI2016-11-161-4/+15
| | | | Also expand the output file for the prefix "~" (tilde)
* configs/manager.py: Also dump the "userconfig" valueAaron LI2016-11-161-1/+4
|
* configs/manager.py: Keep configuration file commentsAaron LI2016-11-151-6/+12
| | | | | | | | | | * Enable the "copy" mode when validating, which also copies all the comments from the configspec to the validated configurations; * Use "copy.deepcopy()" to make a deep copy of the configurations, which also copies all the comments. Since the comments are preserved, therefore they are also written together to the saved/output configuration file.