Metadata-Version: 2.4
Name: snipbackground
Version: 0.1.3
Summary: Fast CPU-based SNIP background subtraction
Author: Yifan Yao
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# snipbackground

A vectorized CPU implementation of the SNIP background subtraction algorithm for spectroscopy.

## Usage

```python
from snipbackground import snip_background

SNIPed, background = snip_background(repeat_energy, source_photons, m=30)

