Skip to content

Commit

Permalink
doc and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaehne committed Jan 2, 2024
1 parent b08c868 commit 1f71d6e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
14 changes: 8 additions & 6 deletions doc/user_guide/supported_formats/hamamatsu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ Hamamatsu

Reader for spectroscopy data saved in ``.img`` (ITEX) files from the HPD-TA
(High Performance Digital Temporal Analyzer) or HiPic (High Performance image control)
softwares from Hamamatsu, e.g. for streak cameras or high performance CCD cameras.
softwares from Hamamatsu, e.g. for images from streak cameras or high performance
CCD cameras.

If `LumiSpy <https://lumispy.org>`_ is installed, ``Luminescence`` will be
used as the ``signal_type``.
If `LumiSpy <https://lumispy.org>`_ is installed, ``TransientSpec`` will be
used as the ``signal_type``, which is intended for streak camera images with
both wavelength and time axes.

.. Note::

Reading files containing multiple channels or multiple images per channel
is not implemented.
Currently, reading files containing multiple channels or multiple images per
channel is not implemented.

API functions
^^^^^^^^^^^^^

.. automodule:: rsciio.hamamatsu
:members:
:members:
4 changes: 3 additions & 1 deletion rsciio/hamamatsu/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,9 @@ def map_metadata(self):

def file_reader(filename, lazy=False, use_uniform_signal_axes=False, **kwds):
"""
Read Hamamatsu's ``.img`` file.
Read Hamamatsu's ``.img`` file, e.g. for streak camera images. In case
LumiSpy is installed, the signal type is automatically set to
``TransientSpec``.
Parameters
----------
Expand Down
1 change: 1 addition & 0 deletions upcoming_changes/209.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set ``signal_type`` to ``TransientSpec`` when Hamamatsu ``.img`` files are read and LumiSpy is installed.

0 comments on commit 1f71d6e

Please sign in to comment.