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

fix master #25

Merged
merged 108 commits into from
Nov 1, 2021
Merged

fix master #25

merged 108 commits into from
Nov 1, 2021

Conversation

JoranAngevaare
Copy link
Owner

Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible

What does the code in this PR do / what does it improve?

Can you briefly describe how it works?

Can you give a minimal working example (or illustrate with a figure)?

Please include the following if applicable:

  • Update the docstring(s)
  • Update the documentation
  • Tests to check the (new) code is working as desired.
  • Does it solve one of the open issues on github?

Notes on testing

  • Until the automated tests pass, please mark the PR as a draft.
  • On the XENONnT fork we test with database access, on private forks there is no database access for security considerations.

All italic comments can be removed from this template.

ahiguera-mx and others added 30 commits August 4, 2021 16:34
* change plotting of dead pmts.

Co-authored-by: GiovanniVolta <gvolta@dali-login1.rcc.local>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* I added first nVeto monitor plugin

* Update straxen/plugins/online_monitor.py

I modified as suggestion from @jorana

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>

* Update straxen/plugins/online_monitor.py

I modified as suggestion

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>

* Update straxen/plugins/online_monitor.py

I modified as suggestion

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>

* Update straxen/plugins/online_monitor.py

I modified as suggestion

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>

* Update straxen/plugins/online_monitor.py

I modified as suggestion at line 235 in new version

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>

* Update online_monitor.py

Update online_monitor.py with the

* Add online_monitor_nv to contexts.py

Add 'online_monitor_nv' at line 196 to contexts.py 
to produce data to monitor nVeto detector

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* Numbafy binomial_test

* Small changes in neg2ll_modpoisson

* fix bug on binomial test

* update binomial test considering that the mean is not the maximum

Co-authored-by: GiovanniVolta <gvolta@dali-login1.rcc.local>
* Add peak and event veto tagging plugins + tests

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* Add a plugin for external trigger run on nVeto calibration plus tests

Co-authored-by: Daniel Wenz <43881800+WenzDaniel@users.noreply.github.com>

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* Fixed floating point issue

* Renamed function update test

* bumped version

Co-authored-by: Evan Shockley <eshockley@physics.ucsd.edu>
* Modified peaklet building to remove baseline bias

* Forgot to updated desaturation

* test

* Fix record_i in overlapping peaks

* Updated peaklets building according to change in strax

* Minor fixes

* Addressed some review dog comments.

* Added test for new function

* Fixed test

* Add empty peaklets support

* Update splitting inputs in veto plugins

* Add time shift to get correct maximum

* Update peaklet_processing.py

* Rename startegy alias

* Update straxen/plugins/peaklet_processing.py

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>

* Change naming conventions

* fix test

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](tensorflow/tensorflow@v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: tensorflow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add lone hit information to merged S2s.

* Copy lone hit as it is read only

* Add dummy lone hits for he channel

* Modify tests to avoid deadlock

* Revert "Add dummy lone hits for he channel"

This reverts commit 4710419.

* Revert "Revert "Add dummy lone hits for he channel""

This reverts commit 4cbfb3c.

* Revert "Modify tests to avoid deadlock"

This reverts commit 271e7cf.

* Update straxen/plugins/peaklet_processing.py

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* use nested imports for RucioRemote

* use the right imports

* fix none/import error

* add simple test

* test loading runs

* if no utilix there is no sense in testing

* make faster

* test find

* Update test_rucio.py

* Update test_rucio.py

* comment on the tests

* Update test_rucio.py
* Update requirements for strax

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* Create filter_strax_from_requirements.sh

* Update pytest.yml

* Update pytest.yml
* Fixed +1 in n_hits
Co-authored-by: Daniel Wenz <43881800+WenzDaniel@users.noreply.github.com>
dependabot bot and others added 28 commits October 27, 2021 23:21
Bumps [dask](https://github.com/dask/dask) from 2021.8.1 to 2021.10.0.
- [Release notes](https://github.com/dask/dask/releases)
- [Changelog](https://github.com/dask/dask/blob/main/docs/release-procedure.md)
- [Commits](dask/dask@2021.08.1...2021.10.0)

---
updated-dependencies:
- dependency-name: dask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix bug in CMT

* remove nv&mv chaining plugins

* Revert "remove nv&mv chaining plugins"

This reverts commit 08bb8f4.
* Fix querries which last longer than one year

* Changed querring to support >1 year queries

* Reviewdog comments

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* test nv with nv data

* remove tagging plugins

* test them here

* Update test_utils.py

* Update test_nveto_recorder.py
* WFSim registry as argument for sims context

* Copypasting Joran's function

* Shame on me

* use new func

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* add data kinds to monitor neutron and muon Veto

add online_monitor_nv and online_monitor_mv

* Update contexts.py

* Update online_monitor.py

* Update contexts.py

* Update online_monitor.py

I update OnlineMonitorNV (to v.0.0.4) and OnlineMonitorMV. 
OnlineMonitorMV is a child plugin of OnlineMonitorNV.

* Update contexts.py

* Update online_monitor.py

* Update online_monitor.py

* small editorial changes

Co-authored-by: Daniel Wenz <43881800+WenzDaniel@users.noreply.github.com>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* Update S1 AFT map in event pattern fit

* Update event_patternfit.py

* test s1 aft map unity

* Update test_utils.py

* Update test_utils.py

Co-authored-by: GiovanniVolta <gvolta@dali-login1.rcc.local>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* refactor fields for correctedareas

* add corrected s2 with s2xy correction only

* fix dtype

* use infer_dtype

* remove redundant variables

* remove elife_corr from infer_dtype

* line break after operator

* use strax.to_str_tuple

* remove cs2_bottom_wo_elifecorr

* fix bug

Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* Update test_contexts.py

* Update requirements-tests.txt

* Update test_contexts.py

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* Update pytest.yml

* this is so confusing

* Update pytest.yml

* Update test_contexts.py

* Update test_contexts.py

* Update pytest.yml

* Update requirements.txt

* Update requirements-tests.txt
* test_widgets is broken?

* Update test_misc.py

* Update test_misc.py
Bumps [scikit-learn](https://github.com/scikit-learn/scikit-learn) from 1.0 to 1.0.1.
- [Release notes](https://github.com/scikit-learn/scikit-learn/releases)
- [Commits](scikit-learn/scikit-learn@1.0...1.0.1)

---
updated-dependencies:
- dependency-name: scikit-learn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
Bumps [utilix](https://github.com/XENONnT/utilix) from 0.6.1 to 0.6.5.
- [Release notes](https://github.com/XENONnT/utilix/releases)
- [Changelog](https://github.com/XENONnT/utilix/blob/master/HISTORY.md)
- [Commits](XENONnT/utilix@v0.6.1...v0.6.5)

---
updated-dependencies:
- dependency-name: utilix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
Bumps [jupyter-client](https://github.com/jupyter/jupyter_client) from 7.0.5 to 7.0.6.
- [Release notes](https://github.com/jupyter/jupyter_client/releases)
- [Changelog](https://github.com/jupyter/jupyter_client/blob/master/CHANGELOG.md)
- [Commits](jupyter/jupyter_client@v7.0.5...v7.0.6)

---
updated-dependencies:
- dependency-name: jupyter-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
Bumps [flake8](https://github.com/pycqa/flake8) from 3.9.2 to 4.0.1.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](PyCQA/flake8@3.9.2...4.0.1)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
Bumps [blosc](https://github.com/blosc/python-blosc) from 1.10.4 to 1.10.6.
- [Release notes](https://github.com/blosc/python-blosc/releases)
- [Changelog](https://github.com/Blosc/python-blosc/blob/master/RELEASE_NOTES.rst)
- [Commits](Blosc/python-blosc@v1.10.4...v1.10.6)

---
updated-dependencies:
- dependency-name: blosc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.12.1 to 3.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v2.12.1...v3.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.23.1 to 6.24.1.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.23.1...hypothesis-python-6.24.1)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joran Angevaare <jorana@nikhef.nl>
* Test installation without extra requirements

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt
@JoranAngevaare JoranAngevaare merged commit 0cc3f57 into JoranAngevaare:joran_master Nov 1, 2021
@JoranAngevaare JoranAngevaare deleted the test_fix branch November 1, 2021 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet