Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to crop "flyback" #237

Open
ercius opened this issue Mar 8, 2022 · 1 comment
Open

Add option to crop "flyback" #237

ercius opened this issue Mar 8, 2022 · 1 comment
Assignees

Comments

@ercius
Copy link
Collaborator

ercius commented Mar 8, 2022

The sparse data in the HDF5 file includes the "flyback" in the last column. Add an keyword option to SparseArray.from_hdf5() (default True) to crop the last column which effectively is the same as:

sp = SparseArray.from_hdf5('data_scan5_th4.5_electrons.h5')
sp = sp[: ,:-1, :, :] # remove the fly back column
@ercius
Copy link
Collaborator Author

ercius commented Nov 6, 2023

working on this in #304

@ercius ercius self-assigned this Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant