slv.inversion.config.InversionConfig.flux_time_bins#
- property InversionConfig.flux_time_bins: IntervalIndex#
whole
flux_freqperiods fromtstarttotend.- Raises:
ValueError – If
tstartortendis not on aflux_freqboundary, so whole periods would cover less thantstart..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