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')[source]
Parameters:
  • raw_filename (str) – full path of the Nexus file

  • outprefix (str) – something unique to the proposal/session

  • entries (list) – for example [“1.1”, “1.2”, …]

  • outdirs (dict) –

  • primary_outdir (str) –

  • rebin_filename (str) – full path of the id22rebin file

Returns str, List[str]:

primary spec output file and new entries added