calc_coverage

exovetter.transit_coverage.calc_coverage(time, p_day, epoch, dur_hour, ndur=2, nbins=10)[source]

Calculate the fraction of the in-transit points that contain data.

Parameters:
time, p_day, epochfloat

See compute_phases().

dur_hourfloat

Duration in hours.

ndurint

Multiplicative factor to specify the length of the in-transit points for the calculation. 1 = only actual in transit points.

nbinsint

Number of bins to split up the in transit points.

Returns:
coveragefloat

Fraction of the in-transit points that contain data.

histarray

Histogram of the times of length nbins

binsarray

corners of the bins for the histogram, length of nbins+1