Skip to content

MPS-SAGE/parsec_isochrones

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This repository contains a set of tools to prepare PARSEC model files for UniDAM.

Model file is prepared in two steps:

  1. python download.py {params}
  2. 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.

Requirements:

  • numpy
  • scipy
  • astropy
  • requests
  • requests_toolbelt
  • argparse

Releases

No releases published

Languages