You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking about guiding the self-explanatory handling of such datasets. Perhaps add attributes to the HDF5 file letting the code know how to handle the special case datasets.
One suggestion - add the following attributes to the ancillary datasets:
dependent_dimensions : ['Field'] - this will handle dummy spectroscopic dimensions
incomplete_dimensions : ['X', 'Y'] - this will handle both sparse sampling and incomplete measurements
Upon noticing either of these attributes, functions such as reshape_to_n_dims() would ignore all dimensions in dependent_dimensions when reshaping and collapse all dimensions in incomplete_dimensions to a single dimension in a numpy / Dask array
The text was updated successfully, but these errors were encountered:
E.g. - in FORC BEPS SPM - DC_Offset indices never get reset since values are NOT the same per FORC cycle. Pycroscopy's BELoopFitter works around this issue by working entirely on the 2D dataset rather than reshaping to N-dimensions
Test all applicable functions with:
Thinking about guiding the self-explanatory handling of such datasets. Perhaps add attributes to the HDF5 file letting the code know how to handle the special case datasets.
One suggestion - add the following attributes to the ancillary datasets:
dependent_dimensions : ['Field']
- this will handle dummy spectroscopic dimensionsincomplete_dimensions : ['X', 'Y']
- this will handle both sparse sampling and incomplete measurementsUpon noticing either of these attributes, functions such as
reshape_to_n_dims()
would ignore all dimensions independent_dimensions
when reshaping and collapse all dimensions inincomplete_dimensions
to a single dimension in a numpy / Dask arrayThe text was updated successfully, but these errors were encountered: