mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-07 16:08:41 +01:00
added dataformat for jungfrau
This commit is contained in:
@@ -238,7 +238,7 @@ Receiver PC Tuning Options
|
|||||||
|
|
||||||
2. ``ETHTOOL_OPTS in ifcfg scripts`` (legacy method for RHEL 7 and earlier)
|
2. ``ETHTOOL_OPTS in ifcfg scripts`` (legacy method for RHEL 7 and earlier)
|
||||||
|
|
||||||
This method applies only to systems using the legacy network-scripts backend, typically RHEL 7 and earlier. It will not apply on systems using NetworkManager, such as modern Fedora or RHEL 8+.
|
This method applies only to systems using the legacy network-scripts backend, typically RHEL 7 and earlier.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
|
|||||||
@@ -67,8 +67,19 @@ set(SPHINX_SOURCE_FILES
|
|||||||
src/binaryfileformat.rst
|
src/binaryfileformat.rst
|
||||||
src/hdf5fileformat.rst
|
src/hdf5fileformat.rst
|
||||||
src/zmqjsonheaderformat.rst
|
src/zmqjsonheaderformat.rst
|
||||||
|
src/dataformat.rst
|
||||||
)
|
)
|
||||||
|
|
||||||
|
configure_file(
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/static/extra.css"
|
||||||
|
"${SPHINX_BUILD}/static/css/extra.css"
|
||||||
|
@ONLY)
|
||||||
|
|
||||||
|
# Add this if it's not already copying the full static folder:
|
||||||
|
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/images
|
||||||
|
DESTINATION ${SPHINX_BUILD}/src)
|
||||||
|
|
||||||
|
|
||||||
foreach(filename ${SPHINX_SOURCE_FILES})
|
foreach(filename ${SPHINX_SOURCE_FILES})
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${filename}
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${filename}
|
||||||
"${SPHINX_BUILD}/${filename}")
|
"${SPHINX_BUILD}/${filename}")
|
||||||
@@ -84,10 +95,6 @@ configure_file(
|
|||||||
"${SPHINX_BUILD}/gen_server_doc.py"
|
"${SPHINX_BUILD}/gen_server_doc.py"
|
||||||
@ONLY)
|
@ONLY)
|
||||||
|
|
||||||
configure_file(
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/static/extra.css"
|
|
||||||
"${SPHINX_BUILD}/static/css/extra.css"
|
|
||||||
@ONLY)
|
|
||||||
|
|
||||||
add_custom_target(server_rst python gen_server_doc.py)
|
add_custom_target(server_rst python gen_server_doc.py)
|
||||||
|
|
||||||
|
|||||||
82
docs/src/dataformat.rst
Normal file
82
docs/src/dataformat.rst
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
Data Format
|
||||||
|
================================
|
||||||
|
|
||||||
|
Each UDP port creates its own output file, which contains the image data transmitted over that port.
|
||||||
|
|
||||||
|
Jungfrau
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Single Port Configuration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
.. image:: images/Jungfrau_module.png
|
||||||
|
:width: 700px
|
||||||
|
:align: center
|
||||||
|
:alt: Jungfrau Module Single Port Configuration
|
||||||
|
|
||||||
|
By default, only the outer 10GbE interface is enabled, transmitting the full image over a single UDP port. This results in one file per module containing the complete image.
|
||||||
|
|
||||||
|
Total image size = 524,288 bytes
|
||||||
|
- 8 chips (2 x 4 grid)
|
||||||
|
- 256 x 256 pixels (chip size)
|
||||||
|
- 2 bytes (pixel width)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Double Port Configuration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
.. image:: images/Jungfrau_two_port.png
|
||||||
|
:width: 500px
|
||||||
|
:align: center
|
||||||
|
:alt: Jungfrau Module Two Port Configuration
|
||||||
|
|
||||||
|
If both interfaces are enabled using the ``numinterfaces`` command on compatible hardware and firmware, the image splits into top and bottom halves sent over two UDP ports:
|
||||||
|
|
||||||
|
- The top half transmits via the inner interface (``udp_dstport2`` and ``udp_dstip2``).
|
||||||
|
|
||||||
|
- The bottom half uses the outer interface(``udp_dstport`` and ``udp_dstip``).
|
||||||
|
|
||||||
|
The number of files per module equals the active UDP ports—two files per module when both interfaces are used.
|
||||||
|
|
||||||
|
Image size per UDP port = 262,144 bytes
|
||||||
|
- **Complete Image size / 2**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Special Cases
|
||||||
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
.. image:: images/Jungfrau_read_rows.png
|
||||||
|
:width: 500px
|
||||||
|
:align: center
|
||||||
|
:alt: Jungfrau Module Read Partial Rows Configuration
|
||||||
|
|
||||||
|
|
||||||
|
The number of image rows per port can be adjusted using the ``readnrows`` command. By default, 512 rows are read, but a smaller value centers the readout vertically (e.g., 8 rows reads 4 above and 4 below the center). Increasing the value symmetrically expands the region toward the top and bottom.
|
||||||
|
|
||||||
|
|
||||||
|
Total image size = 32,768 bytes
|
||||||
|
- 8 chips (2 x 4 grid)
|
||||||
|
- **8** x 256 pixels (chip size: **8 rows**)
|
||||||
|
- 2 bytes (pixel width)
|
||||||
|
|
||||||
|
|
||||||
|
Moench
|
||||||
|
-------------
|
||||||
|
|
||||||
|
|
||||||
|
Eiger
|
||||||
|
-------------
|
||||||
|
|
||||||
|
|
||||||
|
Mythen3
|
||||||
|
-------------
|
||||||
|
|
||||||
|
|
||||||
|
Gotthard2
|
||||||
|
-------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIN
docs/src/images/Jungfrau_module.png
Normal file
BIN
docs/src/images/Jungfrau_module.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
BIN
docs/src/images/Jungfrau_read_rows.png
Normal file
BIN
docs/src/images/Jungfrau_read_rows.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
BIN
docs/src/images/Jungfrau_two_port.png
Normal file
BIN
docs/src/images/Jungfrau_two_port.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
@@ -95,6 +95,7 @@ Welcome to slsDetectorPackage's documentation!
|
|||||||
:caption: Receiver Files
|
:caption: Receiver Files
|
||||||
:maxdepth: 3
|
:maxdepth: 3
|
||||||
|
|
||||||
|
dataformat
|
||||||
fileformat
|
fileformat
|
||||||
slsreceiverheaderformat
|
slsreceiverheaderformat
|
||||||
masterfileattributes
|
masterfileattributes
|
||||||
|
|||||||
Reference in New Issue
Block a user