webbpsf_ext.spectra.linder_filter

webbpsf_ext.spectra.linder_filter(table, filt, age, dist=10, cond_file=None, **kwargs)[source]

Linder Mags vs Mass Arrays

Given a Linder table, filter name, and age (Myr), return arrays of MJup and Vega mags. If distance (pc) is provided, then return the apparent magnitude, otherwise absolute magnitude at 10pc.

This function takes the isochrones tables from Linder et al 2019 and creates a irregular contour grid of filter magnitude and log(age) where the z-axis is log(mass). This is mapped onto a regular grid that is interpolated within the data boundaries and linearly extrapolated outside of the region of available data.

Parameters
  • table (astropy table) – Astropy table output from linder_table.

  • filt (string) – Name of NIRCam filter.

  • age (float) – Age in Myr of planet.

  • dist (float) – Distance in pc. Default is 10pc (abs mag).