ewoksid22.h5_to_spec.convert_h5#
- ewoksid22.h5_to_spec.convert_h5(raw_filename, outprefix=None, entries=None, outdirs=None, primary_outdir=None, retry_timeout=10, rebin_filename=None, ascii_extension='.dat', overwrite=False)[source]#
Convert ID22 HDF5 scan entries to SPEC scans.
- Parameters:
raw_filename (
str) – full path of the Nexus fileoutprefix (
Optional[str]) – something unique to the proposal/sessionentries (
Optional[List[str]]) – for example [“1.1”, “1.2”, …]outdirs (
Optional[Dict[str,str]])primary_outdir (
Optional[str])retry_timeout (
float)rebin_filename (
Optional[str]) – full path of the id22rebin fileascii_extension (
str)overwrite (
bool)
- Return type:
Union[str,None,List[str]]- Returns:
primary spec output file and new entries added