Skip to content

Commit 898d7ad

Browse files
committed
Bug Fixes
1 parent 163055a commit 898d7ad

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

pyepr/classes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ class Interface:
2323
"""
2424

2525
def __init__(self,config_file:dict=None,log=None) -> None:
26+
"""
27+
Parameters
28+
----------
29+
config_file : dict or str or Path, optional
30+
The configuration file or dict for the spectrometer interface, by default None. If None, a default configuration will be used.
31+
log : logging.Logger, optional
32+
The logger to be used, by default None. If None, a default logger will be created.
33+
"""
2634
if isinstance(config_file, (str,Path)):
2735
with open(config_file, 'r') as f:
2836
config_file = yaml.safe_load(f)

pyepr/hardware/PyEPR_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self,config_file_path:str):
3333

3434

3535
super().__init__()
36-
self.IFgain_options = np.array([0,20]) #np.array([0, 20, 40])
36+
self.IFgain_options = np.array([0,20,40]) #np.array([0, 20, 40])
3737
self.IFgain = 1 #2
3838

3939
self.config_file = config_file_path

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ scipy = "^1.14.1"
1515
matplotlib = "^3.9.2"
1616
pyyaml = "^6.0.2"
1717
xarray = ">=2025"
18-
h5netcdf = "^1.4.0"
18+
h5py = ">3.15"
19+
h5netcdf = ">1.4.0"
1920
toml = "^0.10.2"
2021
deerlab = "^1.1.4"
2122
numba = ">=0.60.0"

0 commit comments

Comments
 (0)