BGlib.be.translators.be_odf_relaxation.BEodfRelaxationTranslator¶
- class BGlib.be.translators.be_odf_relaxation.BEodfRelaxationTranslator(max_mem_mb=1024)[source]¶
Bases:
Translator
Translates old Relaxation data into the new H5 format. This is for the files generated from the old BEPSDAQ program utilizing two cards simultaneously. At present, this version of the translator only works for Out of field measurements It will not work for in-field. This should be fixed at a later date.
- Return type:
Translator object
Methods
Checks whether the provided file can be read by this translator.
Basic method that translates .dat data file(s) to a single .h5 file
- static is_valid_file(file_path, *args, **kwargs)¶
Checks whether the provided file can be read by this translator.
This basic function compares the file extension against the “extension” keyword argument. If the extension matches, this function returns True