Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maximilian Schuette
MCS DAQ Data Tools
Commits
5a06904a
Commit
5a06904a
authored
Nov 25, 2020
by
Maximilian Schuette
🌃
Browse files
Fixed imports for DAQBunchPattern and DAQbasic
parent
45133d8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
python/mcsdaqtools/DAQBunchPattern.py
View file @
5a06904a
...
...
@@ -2,7 +2,7 @@ import os
from
datetime
import
datetime
from
struct
import
pack
,
unpack
import
numpy
as
np
import
DAQbasic
as
dqb
from
.
import
DAQbasic
as
dqb
SASE_info
=
{
'FLASH'
:
[{
'Bits'
:
list
(
range
(
0
,
4
)),
'Name'
:
'Charge'
,
'Op'
:
'Abs'
,
'Value'
:
{
'0'
:
0
,
'1'
:
0.02
,
'2'
:
0.03
,
'3'
:
0.04
,
...
...
@@ -89,7 +89,6 @@ SASE_info = {'FLASH': [{'Bits': list(range(0, 4)), 'Name': 'Charge', 'Op': 'Abs'
class
DAQBunchPattern
:
def
__init__
(
self
,
linac
=
'XFEL'
):
# constants for Scan Mode
self
.
linacs
=
SASE_info
.
keys
()
...
...
python/mcsdaqtools/DAQbasic.py
View file @
5a06904a
import
sys
from
struct
import
pack
,
unpack
import
pydoocs
import
pydaq
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment