LSST-nonproject / sims_maf_contrib

Contributed code for MAF (sims_maf)
18 stars 46 forks source link

Updating microlensing metric #81

Closed nsabrams closed 4 years ago

nsabrams commented 4 years ago

Added functionality to microlensingMetric.py to allow users to see if lightcurves were triggered some number of days before the peak and a detection criteria to take both sides of the lightcurve into account. I also added a jupyter notebook example using this functionality

yoachim commented 4 years ago

Looks great!

And it looks like the default kwargs mean it's backwards-compatible (we ran this a lot for the SCOC report, so I just want to make sure we didn't change a default and will get confused comparing new runs to old).