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

Classes for LSC measurements #13

Closed
RemDelaporteMathurin opened this issue Sep 20, 2024 · 1 comment
Closed

Classes for LSC measurements #13

RemDelaporteMathurin opened this issue Sep 20, 2024 · 1 comment

Comments

@RemDelaporteMathurin
Copy link
Collaborator

Instead of working with these large dicts, we should have classes for LSC measurements. In the future this will help us automate the data aquisition from the LSC

Proposed interface:

background_sample = LSCSample(activity=1 * ureg.Bq, name="background)
my_LSC_sample = LSCSample(activity=20 * ureg.Bq, name="a name")

my_LSC_sample.substract_background(background_sample)

For a whole bubbler:

baby_sample_1 = BubblerSample(
    vial_1=LSCSample(activity=20 * ureg.Bq),
    vial_2=LSCSample(activity=0 * ureg.Bq),
    vial_3=LSCSample(activity=12 * ureg.Bq),
    vial_4=LSCSample(activity=1 * ureg.Bq),
    time="SOMEDATEANDTIME",
)

baby_sample_1.substract_background(background_sample)

For a whole run (several bubblers samples):

baby_run_12 = Run(baby_sample_1, baby_sample_2, ...)

baby_run_12.plot(...)
baby_run_12.do_something(...)
@RemDelaporteMathurin
Copy link
Collaborator Author

Completed in #17

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