slv.inversion.config.InversionConfig.flux_time_bins#

property InversionConfig.flux_time_bins: IntervalIndex#

whole flux_freq periods from tstart to tend.

Raises:

ValueError – If tstart or tend is not on a flux_freq boundary, so whole periods would cover less than tstart..tend: "YS" needs January 1, "QS" the first of a quarter, "MS" the first of a month, "2W" Sundays two weeks apart. The obs of the days left out would have no flux to fit.

Examples

>>> from slv.inversion import InversionConfig
>>> config = InversionConfig(
...     tstart="2016-01-01", tend="2018-01-01", flux_freq="YS"
... )
>>> [str(b.left.date()) for b in config.flux_time_bins]
['2016-01-01', '2017-01-01']
Type:

The flux intervals