-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copied and modified original implementation from Haven.
- Loading branch information
1 parent
38ddd9f
commit 010bb45
Showing
9 changed files
with
567 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[pytest] | ||
asyncio_mode = auto | ||
testpaths = | ||
src/guarneri/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
from ._version import get_versions | ||
|
||
__version__ = get_versions()['version'] | ||
__version__ = get_versions()["version"] | ||
del get_versions | ||
|
||
# TODO: fill this in with appropriate star imports: | ||
__all__ = [] | ||
__all__ = ["Instrument", "exceptions"] | ||
|
||
|
||
from . import exceptions | ||
from .instrument import Instrument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class InvalidConfiguration(TypeError): | ||
"""The configuration files for Haven are missing keys.""" | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[beamline] | ||
name = "APS Beamline (sector unknown)" | ||
# Whether to connect to hardware (true) or use mocked signals (false) | ||
hardware_is_present = false | ||
|
||
|
||
[[ async_device ]] | ||
scaler_prefix = "255idcVME:3820:" | ||
scaler_channel = 2 | ||
preamp_prefix = "255idc:SR03:" | ||
voltmeter_prefix = "255idc:LabJackT7_1:" | ||
voltmeter_channel = 1 | ||
# From V2F100: Fmax / Vmax | ||
counts_per_volt_second = 10e6 | ||
name = "I0" | ||
|
||
|
||
[[ threaded_device ]] | ||
prefix = "" | ||
name = "" | ||
|
||
[[ factory_device ]] | ||
num_devices = 5 |
Oops, something went wrong.