>  Docs Center  >  Libraries  >  Buie  >  PHASEBIN
Libraries

PHASEBIN

PHASEBIN

Name


phasebin

Purpose (one Line)


Compute a phase binned average lightcurve

Description


This routine bins lightcurve data as a function of time into a
binned composite lightcurve. Bins with no data are not returned.

Category


      Photometry

Calling Sequence


phasebin,t,x0,sigx0,t0,period,nbins,rotphase,x,sig

Inputs


t - independent variable (usually time)
x0 - dependent variable (usually magnitude or intensity)
sigx0 - Uncertainty on x.
t0 - Reference time for 0 phase.
period- Rotational period to use when binning (same units as t).
nbins - Number of bins to break rotation into.

Optional Input Parameters


Keyword Parameters


Outputs


rotphase - Rotational phase for composite lightcurve.
x - composite lightcurve.
sig - Standard deviation of the mean in each bin.
chi2 - Goodness of fit to data within bin.
pop - Number of points in each bin.

Common Blocks


Side Effects


Restrictions


Procedure


Modification History


Written 1992 Apr 22, by Marc W. Buie, Lowell Observatory
  2000/11/08, MWB, removed use of obsolete ()



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us