In [1]:
from pyxrf.api import *
In [3]:
# define run id and the name of output file
runid = 123
fname = 'scan_123.h5'
In [ ]:
export_hdf(runid, fname)
In [ ]:
# If you also want to include fluorescence data, just turn on key word called xrf
export_hdf(runid, fname, xrf=True)
In [ ]:
In [ ]:
# define run id and the name of output file
runid = 123
fname = 'scan_123.h5'
In [ ]:
make_hdf(runid, fname)
In [1]:
startid = 100
endid = 300
In [ ]:
make_hdf(runid, endid)
In [ ]:
# define prefix for all the scans if you like
make_hdf(runid, endid, prefix='mydata_')