Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sardana
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fsec-sardana
sardana
Commits
0d6ee276
Commit
0d6ee276
authored
11 months ago
by
Jan Kotanski
Browse files
Options
Downloads
Patches
Plain Diff
remove duplicated class
parent
6a01fbe1
No related branches found
Branches containing commit
Tags
desy3.4.3.6
Tags containing commit
No related merge requests found
Pipeline
#108626
failed
11 months ago
Stage: build
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sardana/pool/poolcontrollers/HklPseudoMotorController.py
+1
-18
1 addition, 18 deletions
src/sardana/pool/poolcontrollers/HklPseudoMotorController.py
with
1 addition
and
18 deletions
src/sardana/pool/poolcontrollers/HklPseudoMotorController.py
+
1
−
18
View file @
0d6ee276
...
...
@@ -1423,7 +1423,7 @@ class DiffracBasis(PseudoMotorController):
ki
=
self
.
geometry
.
ki_get
()
ki_rec
=
numpy
.
dot
(
RUB_1
,
ki
.
data
)
return
ki_rec
def
getKf
(
self
):
R
=
self
.
geometry
.
sample_rotation_get
(
self
.
sample
).
to_matrix
()
R
=
[[
R
.
get
(
i
,
j
)
for
j
in
range
(
3
)]
for
i
in
range
(
3
)]
...
...
@@ -1505,23 +1505,6 @@ class Diffrac4Cp23(DiffracBasis): # DiffractometerType: "PETRA3 P23 4C"
DiffracBasis
.
__init__
(
self
,
inst
,
props
,
*
args
,
**
kwargs
)
class
Diffrac4Cp23
(
DiffracBasis
):
# DiffractometerType: "PETRA3 P23 4C"
"""
The PseudoMotor controller for the diffractometer
"""
pseudo_motor_roles
=
"
h
"
,
"
k
"
,
"
l
"
,
"
q
"
,
"
alpha
"
,
"
qper
"
,
"
qpar
"
,
"
tth2
"
,
"
alpha_tth2
"
,
"
incidence
"
,
"
emergence
"
motor_roles
=
"
omega_t
"
,
"
mu
"
,
"
gamma
"
,
"
delta
"
def
__init__
(
self
,
inst
,
props
,
*
args
,
**
kwargs
):
"""
Do the default init plus the specific diffractometer
staff.
@param properties of the controller
"""
DiffracBasis
.
__init__
(
self
,
inst
,
props
,
*
args
,
**
kwargs
)
class
DiffracE4C
(
DiffracBasis
):
"""
The PseudoMotor controller for the diffractometer
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment