Skip to content

draft: adding de-tuning to mono object#30

Open
Jennefer Maldonado (jennmald) wants to merge 11 commits into
NSLS2:mainfrom
jennmald:sprint5
Open

draft: adding de-tuning to mono object#30
Jennefer Maldonado (jennmald) wants to merge 11 commits into
NSLS2:mainfrom
jennmald:sprint5

Conversation

@jennmald
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/cditools/hdcmscans.py Outdated
@jennmald
Copy link
Copy Markdown
Contributor Author

need to test before merging, but is this looking better?

@jennmald Jennefer Maldonado (jennmald) marked this pull request as ready for review May 13, 2026 19:17
Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py
if not self.move_u_gap.get():
u_gap = self.u_gap.position

return self.RealPosition(bragg=np.rad2deg(bragg), c2_x=c2_x, cgap=u_gap)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is cgap==u_gap?

Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py Outdated
Comment thread src/cditools/motors.py Outdated
Copy link
Copy Markdown

@gjwillms gjwillms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider the following. Especially note the rework around the type of peak-up scan to be performed. This is already confusing in the SRX code where the two types--measure total and differential signal on a BPM from either a Ti or Cu foil when the target energy is far from their respective edges in a fixed, in-vacuum device or scanning a reference sample at the sample location--are already confusing. I suggest that if no element is provided, the remainder of the set-up of the xpress3 fluorescence analysis is not performed. CDI doesn't have one anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants