Skip to content

Commit

Permalink
Refactored to base on fuse (#115)
Browse files Browse the repository at this point in the history
* Fuse context first trial (#111)

* fuse plugin lists hardcoded

* capital

* simplify

* renamed to have wfsim compability

* force require master branch of wfsim

* scratch for xenonnt_salted_fuse

* add saltax_mode

* renamed auto_register

* renamed auto_register

* corrections_version

* removed auto_register

* context

* docstr

* added SXNT_COMMON_CONFIG

* renamed

* debug

* Fused CSV input plugins (#114)

* renamed energy deposit

* revert; it's wrong

* renamed records and peaklets

* scratch

* translator from scratch

* removed redundant translator

* debug indent

* draft for translator

* faster

* debug

* debug

* fix types

* first row

* debug and acceleration

* debug dtype

* avoid splitting

* init

* docstr

* docstr

* debug

* naming bug

* raw_records_simu

* raw_records_simu

* sanity

* don't register

* debug

* fixed options

* fixed options

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* bump version

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
FaroutYLq and pre-commit-ci[bot] authored Apr 22, 2024
1 parent c8bc144 commit 67cb493
Show file tree
Hide file tree
Showing 12 changed files with 633 additions and 34 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
strax
straxen
wfsim
git+https://github.com/XENONnT/repository.git@8180bda7a18d7e6c4f4217cfb314154d016fcd10#egg=wfsim
scipy
numpy
pandas
Expand Down
2 changes: 1 addition & 1 deletion saltax/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Scope
Core functions of `saltax`.
## Structure
- `instructions`: `wfsim` instruction related, including event generators.
- `instructions`: `wfsim` or `fuse` CSV instruction related, including event generators.
- `match`: tools to match salted truth and reconstucted signals.
- `plugins`: `straxen`-like plugins for salting, equivalently from `raw_records` to `peaklets`.
- `contexts.py`: `strax` context for `saltax`. You will want to use `sxenonnt` as default context.
2 changes: 1 addition & 1 deletion saltax/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.0.2"
__version__ = "0.1.0"

from . import instructions
from .instructions import *
Expand Down
Loading

0 comments on commit 67cb493

Please sign in to comment.