Closed zkbt closed 2 years ago
@catrionamurray , this closes #131 . Two things to be warned about:
rp
and u
on the original wavelength grid with which they were injected. If you bin a Rainbow
after injecting a transit with different depths, the arrays in the metadata will no longer match the actual wavelengths. We could potentially get around this by storing the wavelike quantities in the wavelike
dictionary so they'd automatically be binned, but maybe that's too fussy.
The changes include:
.inject_transit
in.metadata
, using thetransit_parameters
andtransit_version
keywords.