[AstroPy] Sine1D with phase?

Rolf Buehler rolf.buehler at desy.de
Tue Sep 29 04:16:30 EDT 2015


Dear all,
I would like to fit a Sine1D to a dataset, however, am I right that in 
the current implementation there is no phase parameter? (f(x) = A * 
sin(2 * pi * f * x + Phase)

http://docs.astropy.org/en/stable/api/astropy.modeling.functional_models.Sine1D.html#astropy.modeling.functional_models.Sine1D

I will create a custom_model to work around this, but maybe it would be 
better to add a phase to the model?

Thank you and all the best,
Rolf

-- 
www.rolfbuehler.net




More information about the AstroPy mailing list