mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-06-30 09:19:08 +00:00
Removed matplotlib dependency.
This commit is contained in:
parent
0e9c48f426
commit
449c56c85e
1
.github/workflows/python-publish.yml
vendored
1
.github/workflows/python-publish.yml
vendored
|
@ -57,6 +57,7 @@ jobs:
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
run: |
|
run: |
|
||||||
|
. ./venv/bin/activate
|
||||||
python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/*
|
python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/*
|
||||||
env:
|
env:
|
||||||
PYPI: ${{ secrets.PYPI }}
|
PYPI: ${{ secrets.PYPI }}
|
||||||
|
|
|
@ -14,7 +14,6 @@ classifiers = [
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"h5py",
|
"h5py",
|
||||||
"matplotlib",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
|
@ -24,7 +23,6 @@ requires = [
|
||||||
"Cython",
|
"Cython",
|
||||||
"h5py",
|
"h5py",
|
||||||
"numpy",
|
"numpy",
|
||||||
'matplotlib',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import h5py
|
import h5py
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import matplotlib.pyplot as plt
|
|
||||||
|
|
||||||
# class for accessing data of stored HDF5 file this is from the limr program by andrin doll
|
# class for accessing data of stored HDF5 file this is from the limr program by andrin doll
|
||||||
class HDF():
|
class HDF():
|
||||||
|
@ -131,12 +130,6 @@ class HDF():
|
||||||
|
|
||||||
print('{:<5}: {:>50} {:<25}'.format(key, val, self.parsoutp[key][1]))
|
print('{:<5}: {:>50} {:<25}'.format(key, val, self.parsoutp[key][1]))
|
||||||
|
|
||||||
def plot_dta(self):
|
|
||||||
plt.plot(self.tdx, self.tdy.real)
|
|
||||||
plt.xlabel('$t$ [$\mu$s]')
|
|
||||||
plt.ylabel('$y$ [Counts]')
|
|
||||||
plt.show()
|
|
||||||
|
|
||||||
# empty class to store dynamic attributes, basically for the attributes in HDF keys
|
# empty class to store dynamic attributes, basically for the attributes in HDF keys
|
||||||
class dynclass:
|
class dynclass:
|
||||||
pass
|
pass
|
Loading…
Reference in a new issue