-
Notifications
You must be signed in to change notification settings - Fork 33
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
Pull Master branch #1528
Draft
DonNabla
wants to merge
92
commits into
MS-corr-refactoring
Choose a base branch
from
master
base: MS-corr-refactoring
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Pull Master branch #1528
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Update HISTORY.md * Bump version: 2.2.4 → 2.2.5 * Bug fix to be compatible with latest strax 6a17e3785e942dca703f038c29f6b7544999a2ee
* Inherit `DEFAULT_CHUNK_SPLIT_NS` from `strax` * Use latest strax for testing until new strax version release * Debug
* Use `pyproject.toml` to install straxen * Try to debug * Debug again * Debug again * Debug again * Debug * Move docformatter to pyproject.toml * debug * Move docformatter configuration to pre-commit * Debug * Debug * Debug * Debug * Install packages test needed * Debug * Debug * Delete requirement.txt * Try debug * Debug * Debug * Debug * Debug * Debug * Debug * Add scripts for installation
updates: - [github.com/psf/black: 24.4.2 → 24.8.0](psf/black@24.4.2...24.8.0) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.11.1](pre-commit/mirrors-mypy@v1.10.0...v1.11.1) - [github.com/pycqa/flake8: 7.1.0 → 7.1.1](PyCQA/flake8@7.1.0...7.1.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
* Be compatible with new `Plugin.run_id` * Bug fix * debug for notebook
* small restrax fix restrax did not fail a run in case of problems with the data docs themselves, getting into an infinite loop of try - fail. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * forgot delete line.. * increment n_tries when failing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * initialise only once * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * better db increase by one * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix set restrax failed inc * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * bug --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.1.1. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5.1.0...v5.1.1) --- updated-dependencies: - dependency-name: actions/setup-python 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: Dacheng Xu <dx2227@columbia.edu>
* first tutorial * first tutorial * Implement new version of peak_per_event plugin * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * peak_per_event.py Comments were moved from code to description of PR * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove redundant # * Minor change --------- Co-authored-by: Roi Frankel <roif@midway3-login3.rcc.local> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yue Ma <3124558229@qq.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
* Added dynamic LED window * Changed default values for LED window * Changed AP plugin version number * Added dynamic window to LEDCalibration plugin * Added comments, changed version number * Added numba import * Changed right window edges to be exclusive. * Added hit finding parameters as URL configs * Added baseline and baseline_rms fields to internal records datatype. * Added docstrings and improved formatting * Changed led window width * Fixed docstrings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * formatting * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * break long line * Removed magic numbers from window calculation * Added check if records are sorted * Changed threshold to min_height_over_noise * Renamed and clarified variable names * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix get_records argument * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * handle edge case for empty data * fixed record_length argument in get_records * moved check for empty "records" input to "get * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Unify naming of `LEDCalibration` and `LEDAfterpulseProcessing` --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Giovanni Volta <38431109+GiovanniVolta@users.noreply.github.com> Co-authored-by: yuema137 <3124558229@qq.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
…#1404) * Add normalizing flow position reconstruction plugin, and modify existing peak position plugin to include the flow plugin. Committer: Juehang Qin <qinjuehang@rice.edu> On branch flow-posrec Changes to be committed: modified: straxen/plugins/peaks/peak_positions.py new file: straxen/plugins/peaks/peak_positions_flow.py * Added URLConfig protocol for serialized jax functions * Add flow plugin to peaks __init__.py * Add flow Event posrec plugins * Add flow Event posrec plugins to __init__.py * Restore default_reconstruction_algorithm in peak_positions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove default_reconstruction_algorithm from EventPosEventPositionUncertainty where it is not used * fix merge typo * Add numpy import to peak_positions_flow.py * Adds check to make sure model file exists in tar.gz resource * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Minor fix to make sure mypy correctly infers type in jax URLConfig * another mypy fix * flake8 style fixes * fix flow plugin default model URLConfig * Update documentation for flow plugins * Added note to docstrings, changed flow to cnf, removed extra var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Change flow to cnf in peak_positions plugin * Add no-qa for flake8 line length check in docstring URL. * Add default_reconstruction_algorithm * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * `PeakPositionsCNF` should be inherited from `PeakPositionsBaseNT` --------- Co-authored-by: Juehang Qin <juehang@midway3-login4.rcc.local> Co-authored-by: Juehang Qin <qinjuehang@rice.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
* Stop using `self.config` because we do not use `strax.Option` * Unify configs of `tpc_internal_delay`
updates: - [github.com/pre-commit/mirrors-mypy: v1.11.1 → v1.11.2](pre-commit/mirrors-mypy@v1.11.1...v1.11.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
* Remove hitlet entropy, make hitlets more light * Add summed waveform to NV events * Small fix, area needs to be defined before compute widths * Add min/max gap to event * Move waveform calculation into an extra plugin * Make extra plugin for waveform, some small chnages * Bump version * Change back compressor * Register plugin by default * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove imports and options * Small fixes * Remove not needed files * Make NV events again time interval * Added dt field and length to buffer --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
* Minor debug for the `pyproject.toml` * Force install
* Deprecate selection_str * Ignore untested scripts
* Specify available RSE in `RucioRemoteBackend` * add docstring for the _get_rse function * reformat docstring * add docstring for the frontend class for rses_only * also add docstring to the backend class * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: dachengx <dx2227@columbia.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Remove GCN pos-rec * Remove CNN * CNF as default * Recover MLP as default
* Prototype of peaklets-level pos-rec * Simplify dependency tree * Add TODO * Pos-rec for merged_s2s * Recover all possible data_types * No 'NT' * Debug * Restructure the dependency tree with straxen style * Still keep CNN and GCN * Debug * Debug * Debug * Debug * Renaming * Debug * Remove CNN and GCN * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * A minor change --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Accelerate Euclidean distance by numba * Do not assert in numba
* Set CNF as the default S2 (x, y) position-reconstruction * Hack into CMT and assign MLP maps when asked for CNF maps * Hack more * Fix bug
Co-authored-by: Giovanni Volta <gvolta@midway3-login4.rcc.local> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
* Move `compute_center_times` from straxen to strax * Update version * Debug
…klets (#1503) * Inherit `area_fraction_top`, `center_time` and `median_time` from peaklets * Debug * Minor change * Add comment * Debug * Reform * Debug * Debug
* Add a line of comment about memory optimization * Minor change
* Update HISTORY.md * Bump version: 3.0.0 → 3.0.1 * Update dependency
* Stop support for list of "take" protocol * Try to bypass the check of URL * Debug * Debug
* Bump version: 3.0.1 → 3.0.2 * Update HISTORY.md
Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
* fix_resources * up to peak monitor * only raw records * only peaklets * ambe do all * new era * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * long line * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: cfuselli <cfusellu@nikhef.nl> Co-authored-by: JORAN <jorana@nikhef.nl> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yue Ma <3124558229@qq.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
* First and last channel inside peak(let)s * Debug * Update Peaklets version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
Notes on testing
All italic comments can be removed from this template.