aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/products.py
Commit message (Collapse)AuthorAgeFilesLines
* products: Support frequency unit; Add "reset()" methodAaron LI2016-11-221-3/+25
|
* products.py: Implement method "convert_hpx()" and other fixesAaron LI2016-11-211-5/+41
| | | | | | * Fix "load()" to assign the "self.manifestfile" attribute * Add and use the simple method "get_product()"; * Make parameters of "checksum()" are required;
* products.py: Fix three bugs.Aaron LI2016-11-211-5/+5
| | | | | | * Convert "range()" to list, also make sure "value" is a Python list * Parameter "outfile" of "dump()" is optional * Correct the wrong "self.userconfig" to "self.manifestfile"
* products.py: Use "utils.hashutil.md5()"Aaron LI2016-11-211-3/+3
|
* Fix two bugs and change one variable nameAaron LI2016-11-211-1/+1
| | | | | | | | * foregrounds.py: Use "configs.get_path()" to get the manifest file path; * foregrounds.py: Use "min()" and "max()" since "self.frequencies" has been changed to be a plain Python list instead of a Numpy array; * foregrounds.py: Change the variable "freqid" to "freq_id"; * products.py: Assign the attribute "self.manifestfile"
* Add logging message on backing up old fileAaron LI2016-11-211-0/+1
|
* products.py: Add method "add_product()" to add one single product.Aaron LI2016-11-211-11/+45
| | | | Also update the "add_component()" method to use "add_product()"
* Add "products.py" to manager and manipulate the simulation productsAaron LI2016-11-201-0/+275
The class "Products" may build the manifest for the simulation products, and can manage/manipulate this manifest.