Skip to content

Commit

Permalink
MNT #543 re-arrange
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Oct 4, 2021
1 parent c781e76 commit 8ef0557
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 21 deletions.
1 change: 1 addition & 0 deletions apstools/_devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from .shutters import OneSignalShutter
from .shutters import ShutterBase
from .shutters import SimulatedApsPssShutterWithStatus
from .srs570_preamplifier import SRS570_PreAmplifier
from .struck3820 import Struck3820
from .tracking_signal import TrackingSignal
from .xia_pf4 import DualPf4FilterBox
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
~SRS570_PreAmplifier
This device connects with the SRS570 support from synApps.
(https://github.com/epics-modules/ip/blob/master/ipApp/Db/SR570.db)
The SRS570 synApps support is part of the ``ip`` module:
https://htmlpreview.github.io/?https://raw.githubusercontent.com/epics-modules/ip/R3-6-1/documentation/swaitRecord.html
:see: https://github.com/epics-modules/ip
"""

Expand Down Expand Up @@ -71,6 +77,6 @@ def gain(self):
Amplifier gain (A/V), as floating-point number.
"""
return pint.Quantity(
float(self.sensitivity_value.get()),
float(self.sensitivity_value.get()),
self.sensitivity_unit.get()
).to("A/V").magnitude
1 change: 1 addition & 0 deletions apstools/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
~apstools._devices.description_mixin.EpicsDescriptionMixin
~apstools._devices.kohzu_monochromator.KohzuSeqCtl_Monochromator
~ProcessController
~apstools._devices.srs570_preamplifier.SRS570_PreAmplifier
~apstools._devices.struck3820.Struck3820
Internal routines
Expand Down
4 changes: 0 additions & 4 deletions apstools/synApps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
from .swait import *
from .transform import *

# specific devices
from .srs570_preamplifier import *

__all__ = """
AsynRecord
BusyRecord
Expand All @@ -55,7 +52,6 @@
CalcoutRecordChannel
EpidRecord
SaveData
SRS570_PreAmplifier
SscanRecord
SscanDevice
SwaitRecord
Expand Down
3 changes: 3 additions & 0 deletions docs/source/source/_devices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ Submodules
.. automodule:: apstools._devices.shutters
:members:

.. automodule:: apstools._devices.srs570_preamplifier
:members:

.. automodule:: apstools._devices.struck3820
:members:

Expand Down
1 change: 0 additions & 1 deletion docs/source/source/synApps/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ Support for EPICS synApps modules (records and databases).
:glob:

_*
srs570
15 changes: 0 additions & 15 deletions docs/source/source/synApps/srs570.rst

This file was deleted.

0 comments on commit 8ef0557

Please sign in to comment.