Created
August 14, 2023 13:13
-
-
Save DanPorter/986c8bd7eb568725bcbc057b93a856cd to your computer and use it in GitHub Desktop.
Read I16 Dat Files in Python using Scisoftpy
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
# module load python/3 | |
# or pip install scisoftpy | |
import scisoftpy as dnp | |
path = '/dls/i16/data/2021/mm29566-1/%d.dat' | |
d = dnp.io.load(path % 12345) | |
eta_array = d.eta | |
initial_eta_value = d.metadata.eta | |
scan_command = d.metadata.cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment