<h3 align="center">
  <a href="https://www.zakodium.com">
    <img src="https://www.zakodium.com/brand/zakodium-logo-white.svg" width="50" alt="Zakodium logo" />
  </a>
  <p>
    Maintained by <a href="https://www.zakodium.com">Zakodium</a>
  </p>
</h3>

NB: migrated from https://github.com/cheminfo/nmr-processing/commit/60bb8b1d4f76d4b50023f1c4dc93bce43e1306b7

# NMR processing

[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5153274.svg)](https://doi.org/10.5281/zenodo.5153274)

## Introduction

The goal is to have [pure functions](https://medium.com/@jamesjefferyuk/javascript-what-are-pure-functions-4d4d5392d49c) allowing to process NMR spectra.

All the functions use only native javascript object and will not use any classes.

The functions are sorted by category on which they apply. Currently the categories are:

- xy
- xyz
- peaks
- signals
- ranges
- prediction
- assignment

## Debug

A viewer for xy data is available in `/web`

## Installation

```shell
npm i nmr-processing
```

## License

© 2025 Zakodium Sàrl. This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. [CC BY-NC-SA 4.0](./LICENSE)

This package is based on MIT-licensed code that can be found here: https://doi.org/10.5281/zenodo.5153274

[npm-image]: https://img.shields.io/npm/v/nmr-processing.svg
[npm-url]: https://www.npmjs.com/package/nmr-processing
[download-image]: https://img.shields.io/npm/dm/nmr-processing.svg
[download-url]: https://www.npmjs.com/package/nmr-processing
