BGlib.be.translators.beps_ndf.BEPSndfTranslator¶
- class BGlib.be.translators.beps_ndf.BEPSndfTranslator(*args, **kwargs)[source]¶
Bases:
Translator
Translates Band Excitation Polarization Switching (BEPS) datasets from .dat files to .h5
- Return type:
Translator object
Methods
Checks whether the provided file can be read by this translator
The main function that translates the provided file into a .h5 file
- translate(data_filepath, show_plots=True, save_plots=True, do_histogram=False, verbose=False)[source]¶
The main function that translates the provided file into a .h5 file
- Parameters:
data_filepath (String / unicode) – Absolute path of the data file (.dat)
show_plots (Boolean (Optional. Default is True)) – Whether or not to show plots
save_plots (Boolean (Optional. Default is True)) – Whether or not to save the generated plots
do_histogram (Boolean (Optional. Default is False)) – Whether or not to generate and save 2D histograms of the raw data
verbose (Boolean (Optional. default is false)) – Whether or not to print log statements
- Returns:
h5_path – Absolute path of the generated .h5 file
- Return type:
String / unicode