Skip to content

Commit 5d0eb1a

Browse files
committed
Add docs and changelog
1 parent dacbb18 commit 5d0eb1a

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

docs/api-reference/time/index.rst

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.. _time:
2+
3+
**********************
4+
time (`~ctapipe.time`)
5+
**********************
6+
7+
.. currentmodule:: ctapipe.time
8+
9+
10+
Reference/API
11+
=============
12+
13+
.. automodapi:: ctapipe.time
14+
:no-inheritance-diagram:

docs/changes/2707.datamodel.rst

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Change format in which event timestamps are written to HDF5 files.
2+
Instead of a single float64 MJD value which has ~µs precision,
3+
the CTAO high precision time format is used now.
4+
This stores the timestamp as two uint32 values: seconds
5+
and quarter nanoseconds since ``1970-01-01T00:00:00.0 TAI``.
6+
7+
This only affects the storage format and the precision,
8+
the in-memory API is unchanged as it relies on ``astropy.time.Time``
9+
and values are converted when reading/writing from/to HDF5.

0 commit comments

Comments
 (0)