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

Create a WorkspaceRawFile workspace type and alter LoadRaw to use it. #1038

Closed
NickDraper opened this issue Jul 28, 2008 · 1 comment
Closed
Assignees
Milestone

Comments

@NickDraper
Copy link
Contributor

At the moment the first workspace created from a LoadRaw is an exact memory copy of the data in the file. The idea here is to save memory by only creating a workspace type facade that loads the data from the file as it is required.

Things to consider
- Instrument and spectra-detector table etc – this associated information should be loaded in full as normal
- Loading data on demand – It will probably be necessary to load the data in ‘chunks’ of n spectra
- What if an algorithm tries to modify this workspace? – This workspacetype should be read only. If someone tries to modify it it should copy all of it’s data into a normal Workspace2D (or ManagedWorkspace2D) to continue.

@NickDraper
Copy link
Contributor Author

This issue was originally trac ticket 190

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

2 participants