-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* improvement to photon fits files * add test for baseline * baseline aware file processing * adding more meta data to file files and new organization * adding metadata and reading fits files * added and re-organized documentation * added housekeeping l1 fits files * cleaning up fits tools * first working commit of fits file creation
- Loading branch information
Showing
19 changed files
with
862 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.. _raw: | ||
|
||
*************** | ||
Raw Binary Data | ||
*************** | ||
|
||
Overview | ||
======== | ||
This section document the format of the raw binary files. | ||
Level 0 binary files are raw telemetry or command response packets generated by the instrument. | ||
|
||
|
||
Photon Packet | ||
------------- | ||
The packet which provides individual hit data or photons for each detector. | ||
|
||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| Name | Bit Size | Type | Description | | ||
+=============+===========+========+============================================================+ | ||
| HEADER WORD | 16 | UINT | value is always 65131 | | ||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| FLAGS | 16 | UNIT | various flags, To be defined | | ||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| Packet Size | 16 | UINT | The size of the packet which can be used to determine the | | ||
| | | | number of hits included in the packet | | ||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| Time Stamp | 48 | UINT | | | ||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| Checksum | 16 | UINT | For data integrity | | ||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| Pixel data | | | This field is repeated based on the number of hits detected| | ||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
|
||
|
||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| Pixel Data | | | | | ||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| Detector id | 16 | UINT | The detector id for the location of the hit | | ||
+-------------+-----------+--------+------------------------------------------------------------+ | ||
| Hit energy | 16 | UINT | The ADC value for the energy of the hit | | ||
+-------------+-----------+--------+------------------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.