Cepheid.Periodicity.Pdm (Cepheid v0.1.0)
View SourceFunctions for Phase Disperion Minimization (PDM) analysis.
Summary
Functions
Period-finding via the string length method using trial periods
Functions
Period-finding via the string length method using trial periods
Parameters
min_period: Minimum period to test (units should be 1/time units of times_since_epoch).max_period: Maximum period to test.step_size: Step size for period testing.times_since_epoch: A 1d tensor of time values of time units since epochsamples: A 1d tensor of sample values.
Returns
estimated_period: The period that minimizes the sum of distances.
See https://ui.adsabs.harvard.edu/abs/1983MNRAS.203..917D/abstract for background