Isochrone

class beast.physicsmodel.stars.isochrone.Isochrone(name='', *args, **kwargs)[source]

Bases: object

Methods Summary

FeHtometal(feh)

Convert Z to [Fe/H] values

grid_metrics([check_keys])

Compute metrics of the grid Primarily to determine how well parameter space is covered Incomplete as it only computes along constant age, larger jumps between ages

metalToFeH(metal)

Convert Z to [Fe/H] values

plot(ax[, xval, yval, linestyle, color, alpha])

Plot the isochronses with the input x, y choices

Methods Documentation

FeHtometal(feh)[source]

Convert Z to [Fe/H] values

grid_metrics(check_keys=['logL', 'logT', 'logg'])[source]

Compute metrics of the grid Primarily to determine how well parameter space is covered Incomplete as it only computes along constant age, larger jumps between ages

Parameters:

check_keys (string array) – keys in grid to generage metrics for

Returns:

metrics – each entry has an array with [min, max, median, mean] deltas for that grid paramters

Return type:

dictonary

metalToFeH(metal)[source]

Convert Z to [Fe/H] values

For example:

Zsun = 0.02 will give [Fe/H]sun = -4.33

For reference:

Z = [ 0.0004, 0.004, 0.008, 0.02, 0.05 ] [Fe/H] = [ -1.7 , -0.7 , -0.4 , 0 , 0.4 ]

plot(ax, xval='logT', yval='logL', linestyle='-', color='k', alpha=0.5)[source]

Plot the isochronses with the input x, y choices

Parameters:
  • ax (matplotlib axis) – where to plot

  • xval (str, optional) – what data for x

  • xval – what data for y

  • linestyle (string) – matplotlib linestyle

  • color (string) – matplotlib color

  • alpha (float) – transparency for plotting