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

Support for 11.0.1.2 batch scans #90

Open
pdudenas opened this issue Jul 13, 2023 · 3 comments
Open

Support for 11.0.1.2 batch scans #90

pdudenas opened this issue Jul 13, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@pdudenas
Copy link
Collaborator

A common measurement mode at 11.0.1.2 is to queue up scans in a batch, which leads to hundreds of images across 10s of samples in a file series. Rather than loading all the files into a single DataArray, it would be useful to down select the file series based on metadata (sample number, SDD, etc.) before loading them into memory.

@pdudenas pdudenas added the enhancement New feature or request label Jul 13, 2023
@pdudenas pdudenas self-assigned this Jul 13, 2023
Copy link
Collaborator

So there is already support for this, albeit poorly documented - look at the md_filter kwarg to loadFileSeries. as long as you set the sample ID motor in your run you can filter on a specific sample ID. Let me know if that isn’t working or if I’ve misunderstood the scope of this.

@pdudenas
Copy link
Collaborator Author

Ah yup you're right. The combo of md_filter and file_filter works great. Maybe I'll amend this to add a function similar to summarize_run from the DB loader

@pbeaucage
Copy link
Collaborator

That would be great! If you can document this that would be really good as well.

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

2 participants