desihub / speclite

Lightweight utilities for working with spectroscopic data
14 stars 19 forks source link

Add gaia passbands #62

Closed segasai closed 3 years ago

segasai commented 3 years ago

It addresses the #40

dkirkby commented 3 years ago

Thanks @segasai.

I checked the filter curve values and it looks like they need a bit of cleaning up:

segasai commented 3 years ago

Thanks, I've fixed it. Should I put the python script that preprocess the official curves into these .ecsv somewhere in the repo ?

dkirkby commented 3 years ago

Thanks, this is the result of:

gaiadr2 = speclite.filters.load_filters('gaiadr2-*')
speclite.filters.plot_filters(gaiadr2)

gaiadr2

Can you confirm that the abrupt edge in G around 10500 is desired?

dkirkby commented 3 years ago

@segasai Can you allow me to push to your fork so I can add this plot to the sphinx docs?

dkirkby commented 3 years ago

It looks like G goes smoothly to zero around 11,000A in the plot here.

segasai commented 3 years ago

It was a consequence of me cutting by 3sigma uncertainties. I'm updating that. I think I'll do 1 sigma

segasai commented 3 years ago

I've also added you @dkirkby to my repo, so you can make commits there

dkirkby commented 3 years ago

Looks good now: gaiadr2

I added this plot to the docs and I think everything is ready to merge now.

segasai commented 3 years ago

Thanks for merging/help!

dkirkby commented 3 years ago

I just tagged v0.13 and pushed the new version to pypi so this can be easily incorporated into the next pipeline release.

dkirkby commented 3 years ago

Updated v0.13 docs are here.

@sbailey Note that this release also contains updated (DR1) DECam filters.

Thanks for the contribution @segasai!