Skip to content

v1.4.0

Compare
Choose a tag to compare
@gipert gipert released this 05 Sep 14:24
· 546 commits to main since this release
9175eaf

WARNING: Breaking changes

The lgdo, raw and dsp packages have been outsourced to dedicated packages:

Installing pygama will automatically download the three packages above. Importing pygama.{lgdo,raw,dsp} still works, but emits a deprecation warning. These pygama subpackages will be completely removed in a future release.

Migration guide

Minimal changes are required to existing user code:

  1. Update your import statements:
    import lgdo     # formerly pygama.lgdo 
    import daq2lh5  # formerly pygama.raw
    import dspeed   # formerly pygama.dsp
  2. DSP configuration dictionaries should be updated to import processors from dspeed.processors (and not pygama.dsp.processors), i.e.:
    {
      "processors": {
        "wf_blsub": {
          "function": "bl_subtract",
          "module": "dspeed.processors",
          "args": ["waveform", "baseline", "wf_blsub"],
          "unit": "ADC"
        }
      }
    }

What's Changed

  • Fixed FFTW processors for use with refactor by @iguinn in #499
  • Remove pygama.{lgdo,raw,dsp} subpackages by @gipert in #500
  • Updates to energy calibration to fix issues found and to a/e to combine multiple calibration runs by @ggmarshall in #507
  • Fix Pandas FutureWarning about concatenating empty dataframes by @gipert in #511
  • Improve tcm.py docstring by @jasondet in #509
  • Add links to external packages to README.md by @jasondet in #510
  • Loosen version bounds on other LEGEND packages by @gipert in #512

Full Changelog: v1.3.2...v1.4.0