waqasbhatti / astrobase

Python modules for light curve work and variable star astronomy
MIT License
55 stars 12 forks source link

checkplot.png: minor kwarg addition #99

Closed lgbouma closed 3 years ago

lgbouma commented 3 years ago

I was using _make_phased_magseries_plot, and noticed for stars with flares (or other "ramp" like systematics) that the phase-folded ylimits would be totally off. Sigma clipping (or windowed sigma clipping) goes some way to a workaround, but if the light curve has other variability it can fail. So: the option implemented here is a simple fix that usually works, and doesn't change any of the default options.

waqasbhatti commented 3 years ago

Thanks! Will look through and merge this weekend.

waqasbhatti commented 3 years ago

Merged. Thanks for the PR!