|
|
|
Period Folding Functions
- sitar_pfold_rate( t, rate, p [ ,pdot, pddot, nphs, tzero] )
Fold a rate lightcurve on a given period (with optional first and second derivatives).
Run as: isis> profile = sitar_pfold_rate(t,rate,p,pdot,pddot,nphs,tzero);
Variables omitted or set to 0 take on default values.
Variables in [] are optional, but are order specific.
Inputs:
-
t : Times at which rates are measured
-
rate : Lightcurve rate
-
p : Period on which to fold the lightcurve
Optional Inputs:
-
pdot : Period derivative
-
pddot : Period second derivative
-
nphs : Number of phase bins in output folded lightcurve.
Default = 20
-
tzero : Time of zero phase.
Default = t[0]
Outputs:
-
profile.bin_lo : Start value of phase bin
-
profile.bin_hi : Stop value of phase bin
-
profile.mean : Mean rate in phase bin
-
profile.var : Variance of rate in phase bin
-
profile.sdm : Standard deviation of the mean rate in a phase bin
-
profile.num : Number of data points in phase bin
|