bin.lc: Bin Light Curve

Description Usage Arguments Value Author(s) Examples

View source: R/lctools.r

Description

Bins a light curve into evenly spaced time bins

Usage

1
bin.lc(lc, bin.width)

Arguments

lc

required data frame: Light curve data frame with structure: TIME, TIMED, RATE, ERROR, BACKV, BACKE

bin.width

required numeric: Time delta width of the time bins, must be in the same units as lc$TIME

Value

Light curve data frame binned into evenly spaced time bins with structure: TIME, TIMED, RATE, ERROR, BACKV, BACKE

Author(s)

Derek Blue

Examples

1
2
3
4
## Not run: 
lightcurve <- bin.lc(lightcurve, 100)

## End(Not run)

Starkiller4011/AstroR documentation built on Aug. 24, 2020, 12:41 p.m.