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

Standard set of minitrees for Science Run available at hax.load() #217

Merged
merged 3 commits into from
Mar 1, 2018

Conversation

tunnell
Copy link
Member

@tunnell tunnell commented Feb 27, 2018

Most use cases load a standard set of minitrees for use with lax for most single scatter analysis. This means that now we can do:

hax.minitrees.load(28192, minitrees='all')

The list of minitrees came from:

https://github.com/XENON1T/SR1Results/blob/master/Calibration/inputs_for_bbf/reduce_data.py#L137

@tunnell
Copy link
Member Author

tunnell commented Feb 27, 2018

Do people want 'all' to be default? That would be a reasonable default but I don't want to break compatibility with existing code.

@darrylmasson
Copy link
Contributor

The default 'Basics' and 'Fundamentals' used to cover a lot, but without (x,y,z) and cs1 and cs2, I don't think you can do much with them anymore, so I'd be surprised if any existing code relying on the defaults still worked anyway.

@tunnell
Copy link
Member Author

tunnell commented Feb 27, 2018

@darrylmasson fixed, default to all

Copy link
Contributor

@darrylmasson darrylmasson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good

@tunnell
Copy link
Member Author

tunnell commented Feb 28, 2018

Can somebody not me merge before this goes stale?

@coderdj coderdj merged commit b6bf079 into master Mar 1, 2018
@coderdj coderdj deleted the minitreees branch March 1, 2018 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants