Skip to main content

berliner

Tools for stellar tracks & isochrones.

author

Bo Zhang, bozhang@nao.cas.cn

home page

install

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

How to download isochrones from CMD 3.4

last tested: 2021-03-31

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

# Example 1: download one isochrone
c.get_one_isochrone(
    logage=9.0,     # log age
    z=0.0152,       # if [M/H] is not set, z is used
    mh=None,        # [M/H]
    photsys_file='2mass_spitzer', # photometric system
    )

# Example 2: download a grid of isochrones
# 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)

# More ... 
c.help()            # take a look at the output, it may help you!

Metadata

Release files for berliner 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for berliner 0.1.1
File Interpreter ABI Platform Actions
berliner-0.1.1-py3-none-any.whl Python 3 none any Details for berliner-0.1.1-py3-none-any.whl

Release files / berliner-0.1.1-py3-none-any.whl

Download URL berliner-0.1.1-py3-none-any.whl
Size 45.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb85057f5f319bc942e1da97e9cdbd2f6e72faf4392413c83f4294cb390ac4bb
BLAKE2b-256 checksum
How to use checksums
6bb0e6a77c65e6763fa150ec94adcb16c0d886fee70820a6c8f7fbabe6fa751f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Security for berliner 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page