File: renishaw.rst

package info (click to toggle)
python-rosettasciio 0.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144,644 kB
  • sloc: python: 36,638; xml: 2,582; makefile: 20; ansic: 4
file content (43 lines) | stat: -rw-r--r-- 1,529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.. _renishaw-format:

Renishaw
--------

Reader for spectroscopy data saved using Renishaw's WiRE software.
Currently, RosettaSciIO can only read the ``.wdf`` format from Renishaw.
When reading spectral images, the white light image will be returned along the 
spectral images in the list of dictionaries. The position of the mapped area
is returned in the metadata dictionary of the white light image and this will
be displayed when plotting the image with HyperSpy.

If `LumiSpy <https://lumispy.org>`_ is installed, ``Luminescence`` will be
used as the ``signal_type``.

.. Note::

   There are many different options for the axes according to the format specifications.
   However, only a limited subset is tested: `Spectral` (Wavelength and Raman Shift) for
   the signal axes and `X`, `Y`, `Z`, `FocusTrackZ` and `Time` for navigation axes.
   Reading maps obtained in a serpentine path is not implemented.

.. Note::

   The laser power can be accessed from the ``original_metadata``:

   .. code:: python

      >>> import hyperspy as HyperSpy
      >>> s = hs.load("raman_map.wdf")
      >>> s.original_metadata.get_item("WXIS_0.ND Transmission %")
      10
      

This reader is based on the `py-wdf-reader <https://github.com/alchem0x2A/py-wdf-reader.git>`_,
which is inspired by the `matlab reader <https://doi.org/10.5281/zenodo.495477>`_ from Alex Henderson.
Moreover, inspiration is taken from `gwyddion's reader <http://gwyddion.net>`_.

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

.. automodule:: rsciio.renishaw
   :members: