lair.transects.profile#

lair.transects.profile(enh, times, by='hour', threshold=0.0, min_transits=10, tz_offset_hours=0.0)[source]#

Detection frequency and median magnitude per point, binned by by (“hour”, “weekday” or “month”) of the transit time.

Returns (bins, freq[bin, point], mag[bin, point]). tz_offset_hours shifts the (UTC) transit times to local time before binning (e.g. -7 for MST).

Parameters:
Return type:

tuple[ndarray, ndarray, ndarray]