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

feature: qt3scan save scan range data #35

Closed
gadamc opened this issue Sep 27, 2022 · 1 comment
Closed

feature: qt3scan save scan range data #35

gadamc opened this issue Sep 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@gadamc
Copy link
Collaborator

gadamc commented Sep 27, 2022

Currently we just save the numpy array of the scan without the scan axis positions.

We could fix this through a few ways.

  1. provide a 'save scan parameters' function / button that saves params to a .json file
  2. in the current save function, simply save a new file with the same basename, but with .json extension that contains the scan parameter
  3. save a data structure that isn't a numpy array, but instead a single .json file with all of the data in a single file.
@gadamc
Copy link
Collaborator Author

gadamc commented Oct 5, 2022

Other options.

In the 'save' function, we could add another file type option of '.json' or '.pickle'. When those are selected, we package the data array along with the xmin, xmax, ymin and ymax values in a dictionary and serialize those to disk.

@gadamc gadamc added the enhancement New feature or request label Oct 27, 2022
@gadamc gadamc closed this as completed Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant