Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | configs/manager.py: get_path() return None if value is an empty string | Aaron LI | 2017-07-21 | 1 | -2/+5 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Implement "_simulate_merger()" | Aaron LI | 2017-07-20 | 1 | -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 values | Aaron LI | 2017-07-19 | 2 | -12/+8 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Small updates to comments and configuration descriptions | Aaron LI | 2017-07-19 | 1 | -7/+8 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use [arcsec] as the unit for pixel size and resolution | Aaron LI | 2017-07-19 | 3 | -7/+13 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | halo.py: Add property "zgrid" as well as config option "zbinsize" | Aaron LI | 2017-06-24 | 1 | -1/+3 |
| | |||||
* | halo.py: calculate magnetic field using a scaling relation | Aaron LI | 2017-06-23 | 1 | -3/+7 |
| | |||||
* | cosmology: Use default parameters from configurations | Aaron LI | 2017-06-23 | 1 | -0/+2 |
| | | | | Also add configuration option "cosmology/Omegab0". | ||||
* | Use keyword "BUNIT" and unit "K" | Aaron LI | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | configs: Default to disable all foregrounds | Aaron LI | 2017-06-13 | 1 | -4/+4 |
| | |||||
* | configs: extragalactic/halos: change "radius_halo" to "radius" | Aaron LI | 2017-06-01 | 1 | -5/+4 |
| | |||||
* | fg21sim/clusters: Save progress on halo simulation | Aaron LI | 2017-06-01 | 1 | -1/+1 |
| | |||||
* | configs: Add sigma8 to specifications | Aaron LI | 2017-06-01 | 1 | -0/+2 |
| | |||||
* | Add clusters/formation.py: Simulate cluster merging history | Aaron LI | 2017-06-01 | 1 | -0/+4 |
| | |||||
* | halo.py: Force a minimal value on acceleration coefficient | Aaron LI | 2017-06-01 | 1 | -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 LI | 2017-06-01 | 1 | -0/+5 |
| | |||||
* | Add "[extragalactic/halos]" configurations | Aaron LI | 2017-06-01 | 1 | -0/+44 |
| | |||||
* | galactic/snr: Update to support the sky.py | Aaron LI | 2017-05-22 | 1 | -1/+1 |
| | | | | Also fix a typo in configs/checkers.py | ||||
* | configs/checkers: Check SNR simulation resolution against pixel size | Aaron LI | 2017-05-21 | 1 | -0/+7 |
| | |||||
* | galactic/synchrotron: Update to support sky.py | Aaron LI | 2017-05-21 | 1 | -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 FITS | Aaron LI | 2017-05-17 | 1 | -6/+3 |
| | |||||
* | configs: New "sky" section, and remove "common" section | Aaron LI | 2017-05-16 | 3 | -37/+67 |
| | | | | * Update checkers accordingly | ||||
* | configs: Use separate section "foregrounds" to config components | Aaron LI | 2017-05-16 | 3 | -29/+61 |
| | | | | Also update copyright information. | ||||
* | galactic/snr.py: Small cleanup; Update default resolution | Aaron LI | 2016-12-13 | 1 | -1/+1 |
| | |||||
* | Minor updates | Aaron LI | 2016-11-26 | 1 | -0/+5 |
| | |||||
* | webui: configs: Some minor fixes | Aaron LI | 2016-11-22 | 1 | -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 LI | 2016-11-21 | 1 | -1/+1 |
| | |||||
* | Add logging message on backing up old file | Aaron LI | 2016-11-21 | 1 | -0/+1 |
| | |||||
* | configs: Add new option "output/manifest" | Aaron LI | 2016-11-20 | 1 | -0/+3 |
| | | | | | The option "output/manifest" is the filename of the output manifest for the simulation products. | ||||
* | configs: Update logging message format | Aaron LI | 2016-11-17 | 1 | -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 LI | 2016-11-17 | 1 | -9/+28 |
| | |||||
* | configs/manager.py: Make a backup when output file already exists | Aaron LI | 2016-11-16 | 1 | -4/+15 |
| | | | | Also expand the output file for the prefix "~" (tilde) | ||||
* | configs/manager.py: Also dump the "userconfig" value | Aaron LI | 2016-11-16 | 1 | -1/+4 |
| | |||||
* | configs/manager.py: Keep configuration file comments | Aaron LI | 2016-11-15 | 1 | -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. | ||||
* | configs/manager.py: Expand "~" when read userconfig | Aaron LI | 2016-11-15 | 1 | -0/+3 |
| | |||||
* | configs/checkers.py: Check missing before validating the values | Aaron LI | 2016-11-11 | 1 | -4/+12 |
| | |||||
* | configs/manager.py: Implement the "save()" method | Aaron LI | 2016-11-08 | 1 | -6/+19 |
| | |||||
* | configs/checkers.py: Add "check_common()" | Aaron LI | 2016-11-07 | 1 | -0/+25 |
| | |||||
* | configs: Add parameters "min" and "max" to float-type options | Aaron LI | 2016-11-07 | 3 | -10/+10 |
| | |||||
* | configs: Change "logging/filemode" to boolean "logging/appendmode" | Aaron LI | 2016-11-07 | 2 | -4/+4 |
| | | | | | * Update the "logging" property in "manager.py" * Also add "extragalactic/clusters" to "common/components" | ||||
* | configs/manager.py: Replace a filter with list comprehension | Aaron LI | 2016-11-07 | 1 | -4/+1 |
| | | | | | Replace the filter hack with a cleaner list comprehension. Be Pythonic :) | ||||
* | configs/manager.py: Support flattening dumped configs (nested dict) | Aaron LI | 2016-11-06 | 1 | -6/+98 |
| | | | | | | | | * Add helper function "_flatten_dict()" to flatten a nested dictionary into an one-level dictionary, with the keys are concatenated with a separator. * Add a new parameter "flatten" to method "dump()" to allow the dumped configurations been flattened. | ||||
* | webui: websocket.py: Implement "set" action for "_handle_configs()" | Aaron LI | 2016-11-04 | 1 | -5/+5 |
| | | | | | | | Finish the "_set_configs()" function to implement the "set" action for "_handle_configs()". Also change the "status" keyword to "success" to be more intuitive. | ||||
* | configs/manager.py: Add method "check_all()" using "check_configs()" | Aaron LI | 2016-11-04 | 1 | -0/+31 |
| | |||||
* | Update to use renamed "check_configs()" instead of "validate_configs()" | Aaron LI | 2016-11-04 | 1 | -1/+1 |
| | |||||
* | configs: Rename "validate.py" and update "validate_configs()" | Aaron LI | 2016-11-04 | 1 | -24/+36 |
| | | | | | | | | * 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. | ||||
* | configs/manager.py: Implement "setn()" to set an option value | Aaron LI | 2016-11-04 | 1 | -6/+86 |
| | | | | | | | | | | | The "setn()" method is a corresponding operation with the "getn()", which set the value of a config option to the given value. This function will be used in the Web UI to interact with the WebSocket communications. Also add the "merge()" method which simply merge the input configurations without any validation. | ||||
* | configs/manager.py: getn(): remove par. "sep"; handle exception | Aaron LI | 2016-11-03 | 1 | -12/+16 |
| | | | | | | | | * Remove the optional parameter "sep", therefore the key must be "/"-separated or a list of keys. * Add exception handling and raise "KeyError" if the input key is invalid (i.e., specifies a non-exist option). * Update comments and docstring. | ||||
* | configs/manager.py: Reset before loading user config file again | Aaron LI | 2016-11-03 | 1 | -12/+10 |
| | | | | | | | | Originally, the user configuration file is only allowed to load once, and prevent any future loading of user configuration file. This change allows load user configuration file again by resetting the current configurations to defaults before loading. | ||||
* | configs/manager.py: Add method "reset()" and attribute "userconfig" | Aaron LI | 2016-11-03 | 1 | -1/+16 |
| |