Home
last modified time | relevance | path

Searched refs:time_bin_end (Results 1 – 7 of 7) sorted by relevance

/dports/astro/py-astropy/astropy-5.0/astropy/timeseries/
H A Dbinned.py114 if time_bin_end is not None and not isinstance(time_bin_end, (Time, TimeDelta)):
115 time_bin_end = Time(time_bin_end)
149 time_bin_end = time_bin_start + time_delta
164 if time_bin_end is not None:
165 if time_bin_end.isscalar:
168 times[-1] = time_bin_end
169 time_bin_end = times
202 def time_bin_end(self): member in BinnedTimeSeries
333 time_bin_end = None
338 time_bin_end=time_bin_end,
[all …]
H A Ddownsample.py91 if time_bin_end is not None and not isinstance(time_bin_end, (Time, TimeDelta)):
92 time_bin_end = Time(time_bin_end)
106 if time_bin_size is None and time_bin_end is None:
115 time_bin_end = ts_sorted.time[-1]
124 elif time_bin_end is not None:
125 if not time_bin_end.isscalar:
130 time_bin_start[1:] = time_bin_end[:-1]
133 if time_bin_end is not None:
135 np.any(time_bin_start[1:] < time_bin_end[:-1])):
142 time_bin_end=time_bin_end,
[all …]
/dports/astro/py-astropy/astropy-5.0/astropy/timeseries/tests/
H A Dtest_binned.py88 time_bin_end=Time(1, format='mjd'))
113 time_bin_end=Time(1, format='mjd'),
127 time_bin_end=Time(1, format='mjd'))
134 time_bin_end=None)
154 assert_equal(ts.time_bin_end.isot, ['2016-03-22T12:30:34.000',
167 time_bin_end='2016-03-22T12:30:55',
178 assert_equal(ts.time_bin_end.isot, ['2016-03-22T12:30:32.000',
202 assert_equal(ts.time_bin_end.isot, ['2016-03-22T12:30:36.000',
215 time_bin_end=['2016-03-22T12:30:32',
228 assert_equal(ts.time_bin_end.isot, ['2016-03-22T12:30:32.000',
H A Dtest_downsample.py67 time_bin_end='2016-03-22T12:30:34')
68 assert_equal(down_end.time_bin_end.isot, ['2016-03-22T12:30:33.000', '2016-03-22T12:30:34.000'])
78 …assert_equal(down_auto_end.time_bin_end.isot, ['2016-03-22T12:30:33.000', '2016-03-22T12:30:35.000…
89 …down_start_array = aggregate_downsample(ts, time_bin_end=['2016-03-22T12:30:33', '2016-03-22T12:30…
157 time_bin_end=Time(['2016-03-22T12:30:32.000',
169 time_bin_end=Time(['2016-03-22T12:30:34',
/dports/astro/py-astropy/astropy-5.0/docs/timeseries/
H A Ddata_access.rst9 .. |time_bin_end| replace:: :attr:`~astropy.timeseries.BinnedTimeSeries.time_bin_end` substdef in Accessing Data in Time Series
77 |time_bin_center|, and |time_bin_end|::
90 >>> bts.time_bin_end
101 columns, and |time_bin_center| and |time_bin_end| are computed on the fly.
H A Dinitializing.rst161 ... time_bin_end='2016-03-22T12:30:42')
199 ``time_bin_start`` and ``time_bin_end``::
204 ... time_bin_end=['2016-03-22T12:30:32',
238 ... time_bin_end='2016-03-22T12:30:42',
/dports/astro/py-astropy/astropy-5.0/
H A DCHANGES.rst211 an optional ``time_bin_end``.