PolynomialRVTrend¶
- class twobody.PolynomialRVTrend(coeffs=None, t0=None)[source]¶
Bases:
RVTrendSpecify a polynomial trend in radial velocities by specifying the polynomial coefficients and optionally a reference time.
Note that the coefficients are expected in the reverse order of those expected by numpy’s
polyfunctionality, i.e.coeffs[0]is the constant term,coeffs[1]is the linear term, etc.- Parameters
- coeffsiterable
A tuple or list of
Quantityobjects that have the appropriate velocity per time units.- t0
astropy.time.Time, numeric (optional) The reference time for the trend.
Methods Summary
__call__(t)Evaluate the predicted velocity at the specified time.
Methods Documentation