Lookup tables (lazuli_exo.tables)
Lookup-table storage for lazuli_exo.
- Layout under a tables directory:
index.json star/<planet-slug>.npz (wavelength_um, f_lambda, meta) noise/<planet-slug>.npz (wavelength_um, depth_err_1transit, meta) ld/<planet-slug>.npz (wavelength_um, u1, u2, meta) atmo/zeta_grid.npz (T_K, log_met, c_to_o, wavelength_um, zeta[T,met,co,fid,wl], mu[T,met,co], meta) star/phoenix_grid.npz (teff_K, logg, feh, wavelength_um, log_flam, meta)
All wavelengths are in micron. meta is a JSON dict stored as a string array. The POSEIDON model tables (models/<planet-slug>__<scenario>.npz) are not runtime data since schema 3; they live under precompute/tables/ as validation material and are read with write_model_table/load_model on that directory.
- lazuli_exo.tables.write_model_table(tables_dir, planet, scenario, wavelength_um, transit_depth, meta)[source]
- lazuli_exo.tables.write_noise_table(tables_dir, planet, wavelength_um, depth_err_1transit, meta)[source]
- lazuli_exo.tables.write_ld_table(tables_dir, planet, wavelength_um, u1, u2, meta)[source]
Quadratic limb-darkening coefficients u1(lambda), u2(lambda).
- lazuli_exo.tables.write_zeta_grid(tables_dir, *, T_K, log_met, c_to_o, wavelength_um, zeta, mu, meta, smoke=False)[source]
Planet-independent photospheric log-pressure grid.
zeta is stored float16 (abs. precision <= 0.016 at zeta <= 16, i.e. < 2 % of a scale height) at the native model resolution; mu float32. Smoke output is isolated from the production grid and its runtime cache.
- lazuli_exo.tables.write_phoenix_grid(tables_dir, *, teff_K, logg, feh, wavelength_um, log_flam, meta)[source]
PHOENIX SED mini-grid (float32 log10 F_lambda).