semvec/pypi-packages huggingface dataset:
oscsipm-vong 0.1
Instruments to make photocounting statistics from histograms and raw oscillograms
Requires Python: >=3.6

![OscSiPM](https://github.com/vongostev/OscSiPM/workflows/OscSiPM/badge.svg?branch=main)
# OscSiPM
Instruments to make photocounting statistics from histograms and raw oscillograms (made by LeCroy oscilloscope or old Tektronix oscilloscope) of SiPM signal. One can correct the baseline of the oscillogram and compensate a crosstalk noise of photocounting statistics.

# How to use?
Import necessary modules:
```python
from oscsipm import PulsesHistMaker, QStatisticsMaker, optimize_pcrosstalk, compensate
```
Import an experimental data
```python
datadir = "C:\\expdata\\"
parser = PulsesHistMaker(datadir, vendor='tek', parallel=True, parallel_jobs=2)
parser.read()
```
Make a histogram
```python
histfile = "C:\\histograms\\test.txt"
parser.multi_pulse_histogram(frequency=1e6, time_window=10e-9)
parser.save_hist(histfile)
```
Make a photocounting statistics
```python
histfile = "C:\\histograms\\test.txt"
qmaker = QStatisticsMaker(histfile, discrete=0.021, method='fit')
Q = qmaker.getq()
```
Determine a crosstalk probability (if an optical signal is coherent) and compensate it
```python
PDE = 0.4
pcrosstalk, res = optimize_pcrosstalk(Q, PDE, N=50)
Q1 = compensate(Q, pcrosstalk)
```
# Requirements
See requirements.txt
nuc-fwhm 0.0.1
Full Width at Half Maximum(F.W.H.M.)
Requires Python: >=3.0

# nuclear_fwhm
Full Width at Half Maximum(FWHM) value for required equipment.

The highest value of COUNTS: Y2
Its respective CHANNEL number: X2

The value of half maximum is at the half of heighest peak
The first value is the point to the left side of the peak

This is a point on the left side of the peak
The COUNT value closest to and lower than half of max, with channel number LESS than highest count channel number: Y1
Its respective channel number: X1

The channel number for count value closest and lowest to half of max, with channel number LESS than highest count channel number	

This is the point to the right side of the peak	
The COUNT value closest to and lower than half of max, with channel number GREATER than highest count channel number: Y3
Its respective channel number: X3
        
The channel number for count value closest and lowest to half of max, with channel number GREATER than highest count channel number

USING INSTRUCTIONS:      
1. in the required code "from nuc_fwhm import fwhm"
2. to use the function "fwhm(-six numbers as arguments)"
3. the six numbers are X1, X2, X3, Y1, Y2, Y3 i.e. fwhm(X1, X2, X3, Y1, Y2, Y3)
pyecog2 0.0.0
For visualizing and classifying video-ECoG recordings (iEEG)
Requires Python: >=3.8
Keywords: iEEG,ECoG,telemetry

# Pyecog2

Under construction.

Pyecog2 is a python software package aimed at exploring, visualizing and analysing (video) EEG telemetry data

## Installation instructions

Hopefully just pip install pyecog2