diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..696efa5 --- /dev/null +++ b/environment.yml @@ -0,0 +1,25 @@ +name: mesoscopy +channels: + - defaults +dependencies: + - python>=3.9 + - pip + - numpy + - matplotlib + - qcodes + - conda-forge::pyqtgraph=0.11.0 + - h5py=2:10.0 + - pyqt=5.9.2 + - QtPy + - jsonschema + - jupyter + - hypothesis + - scipy + - pandas + - tqdm + - conda-forrge::websockets +conda-forge::schema +conda-forge::requirements-parser + - pip: + - pyvisa + diff --git a/mesoscopy/instrument/lockin.py b/mesoscopy/instrument/lockin.py index e21956c..bc18cf3 100644 --- a/mesoscopy/instrument/lockin.py +++ b/mesoscopy/instrument/lockin.py @@ -14,7 +14,8 @@ def init_lockin( freq: Optional[float] = 127, ampl: Optional[float] = 1, TC: Optional[float] = None, - filterorder=8 + filterorder: Optional[int] = 8, + sensitivity: Optional[float] = 0.003 ): lockins = _list_lockins(station) @@ -60,7 +61,7 @@ def init_lockin( station.__getattr__(lockin).sigins[0].diff(1) station.__getattr__(lockin).sigins[0].float(1) station.__getattr__(lockin).sigins[0].scaling(1) - station.__getattr__(lockin).sigins[0].range(3e-3) + station.__getattr__(lockin).sigins[0].range(sensitivity) station.__getattr__(lockin).sigouts[0].range(10)