Dear Chris,
I attached the code for the analysis of the files that contain the off-field loops only
your code:
usid.hdf_utils.write_simple_attrs(h5_main.h5_spec_inds, {'labels': ['Frequency', 'DC_Offset', 'FORC_Cycle']})
usid.hdf_utils.write_simple_attrs(h5_main.h5_spec_vals, {'labels': ['Frequency', 'DC_Offset', 'FORC_Cycle']})
usid.hdf_utils.write_simple_attrs(h5_main.h5_spec_inds, {'units': ['Hz', 'V', '']})
usid.hdf_utils.write_simple_attrs(h5_main.h5_spec_vals, {'units': ['Hz', 'V', '']})
h5_file.flush()
adapted the .h5 files so they could be opened with the file we previously used for the on and off field loops.
The attached code is based on the BE_Processing.ipynb on github. From there I used the
Fit loops to a function
section for the loop fitting but it seems that it cannot deal with the re-formatted files.
1) The goal would be to fit the loops for the highest voltage, so that the coerzive fields for the whole map can be extracted / plotted.
2) Further, if I try to open the current version of BE_Processing.ipynb on github, I get:
Unreadable Notebook: C:\Users\kwf\Downloads\ORNL\2018\BE_Processing (1).ipynb NotJSONError("Notebook does not appear to be JSON: '\\n\\n\\n\\n\\n\\n<!DOCTYPE html>\\n<html lang...",)
Could you please give me a hint on how to solve these issues?
Thank you very much for your kind assistance.
Best regards,
Sebastian