Xypattern

Latest version: v1.2.0

Safety actively analyzes 714860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.2.0

- adding and subtracting patterns with different x-values will now work both with linear interpolation (before subtraction was using cubic interpolation and adding linear)
- pattern to_dict and from_dict now also save and restore auto_bkg and auto_bkg_roi
- added a copy method to pattern class
- pattern changed signal now passes the pattern itself as argument
- improved code documentation and added examples
- added online documentation at https://xypattern.readthedocs.io/en/latest/

1.1.2

- now correctly saves a file without background (subtract_background parameter false) when auto_bkg is set

1.1.1

- fixed inclusion of compiled smooth bruckner functions in wheels on linux and macos

1.1.0

- added feature to delete a range in a pattern
- added filename field in pattern, which contains complete filepath (name will still just hold the name)
- added transform_x function to modify the x-axis in place (will also update backgrounds)
- changed the auto background api, new usage:

python
pattern.auto_bkg = SmoothBrucknerBackground()
pattern.auto_bkg_roi = [10, 20]
pattern.auto_bkg = None will switch it off

1.0.5

- enable poetry versioning plugin during build, to hopefully work when installing with pypi

1.0.4

- fix constraints to also actually work with python 3.8

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.