OttoStruve / muler

A Python package for working with pipeline-produced spectra from IGRINS, HPF, and Keck NIRSPEC
https://muler.readthedocs.io
MIT License
15 stars 9 forks source link

Flatten the full spectrum with a black body #30

Closed gully closed 3 years ago

gully commented 3 years ago

Now that we have .deblaze() working, we are left with a Rayleigh-Jeans looking spectrum from order-to-order. Let's add a method to divide this out with a black body, which should render a nearly flattened spectrum ideal for cross-correlation with a template.