Skip to content

Tools for stellar tracks & isochrones.

License

Notifications You must be signed in to change notification settings

jiadonglee/berliner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

berliner

Tools for stellar tracks & isochrones.

author

Bo Zhang, [email protected]

home page

install

  • for the latest stable version: pip install berliner
  • for the latest github version: pip install git+git:https://github.com/hypergravity/berliner

doc (TODO...)

How to download isochrones from CMD 3.2

# import CMD
from berliner.parsec import CMD
# initialize it
c = CMD()

# define your grid of logAge and [M/H] as tuple(lower, upper, step)
grid_logage = (6, 10.2, 0.1)
grid_mh = (-2.6, 0.5, 0.1)

# download isochrones in parallel
isoc_lgage, isoc_mhini, isoc_list_2mass_wise = c.get_isochrone_grid_mh(
    grid_logage=grid_logage, grid_mh=grid_mh, photsys_file="2mass_spitzer_wise",
    n_jobs=50, verbose=10)

About

Tools for stellar tracks & isochrones.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 72.8%
  • Python 27.2%