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.
Simplified the "K events" plotting: now, if you want to plot only those energy events that lie in [1430,1575] keV, you have to build the following subsystem entry:
"cuts": "K lines"
is no more needed as it was before (indeed, since we are already specifying with theparameters
entry that we want to look at K events, it would be redundant to add also that cut).The cut over K lines entries is still an option for plotting other parameters in correspondence of K entries. However, it still does not work because in the dataframe the energy column is missing (eg. if we want to plot the
baseline
in correspondence of K entries, we cannot do it at the moment because the code does not know that it also has to load an energy column, which is needed for applying the energy cut). This problem was already there, and it seems it can be solved by simply loading the additional energy column if"cuts": "K lines"
is present for a given parameter.