semvec/pypi-packages huggingface dataset:
pyAvantes 0.0.3
library to handle Avantes Raw8 spectra
License: Apache 2.0
Keywords: spectromter spectrum Avantes raw8

# pyAvantes
This python package allows you to view and parse Avantes raw8 spectrum

## Example
```python
import os
import numpy as np
import matplotlib.pyplot as plt
from datetime import datetime
%matplotlib inline
import pyAvantes

path = os.path.abspath(pyAvantes.__path__[0]+r'\..\doc\example.Raw8')
S = pyAvantes.Raw8(path)
fig, ax = plt.subplots(1,1,figsize=(10,7))
fig.patch.set_facecolor('white')
ax.plot(S.getWavelength(),S.getRelativeIrradiance());
print(S.getDatetime())
```
`2022-06-09 16:11:00`
    
![png](./doc/output_0_0.png)