This repository contains a set of tools to prepare PARSEC model files for UniDAM.
Model file is prepared in two steps:
python download.py {params}
python prepare_models.py BAND output_file
usage: download.py [-h] [-o OUTPUT] -b BAND [-a AGE] [-e EXTINCTION] [-f FEH]
[--all] [--single-feh]
Tool to download PARSEC models.
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
Output file name
-b BAND, --band BAND Catalog to work with
-a AGE, --age AGE Age to wotk with
-e EXTINCTION, --extinction EXTINCTION
Extinction (A_V) to wotk with
-f FEH, --feh FEH Metallicity to wotk with
--all Download all metallicities/ages
--single-feh Download all ages for one metallicity
Example:
~>python download.py -b 2MASS -o 2MASS --all
~>python prepare_models.py 2MASS PARSEC.fits
File constants.py
contains a dict of available BAND values.
Default CMD version is 1.2S + COLIBRI PR16.
Values with _old
suffix are for the version 1.2S.
- numpy
- scipy
- astropy
- requests
- requests_toolbelt
- argparse