-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update on line tracing routine #871
base: devel
Are you sure you want to change the base?
Conversation
…nge pixels coords to lower origin, can convert line+Rcs traces on detector to 2D image
…wavelength, add if already exists name of wavelength (dlamb dict)
Hello @adriendaros! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-01-17 08:41:59 UTC |
…ectra, add mode in arguments
…ed, plot RCs vs wavelengths option ok,
…length, plot parameter supdated,
Aim :
Modifications on the routine
tofu/geom/plot_line_on_det_tracing()
have been made in order to integrate multiple lines tracing at the same time, in order to simulate a 2D spectra (w/o line intensities, only positions).Main changes:
Are available:
lamb = 'ArXVII'
w/ArXVII (w,x,y,z)
,ArXVI (q,r,a,k,j)
,ArXV (n=3)
,WXLIV
andWXLIII
lineslamb = 'ArXVII-woW'
w/ArXVII (w,x,y,z)
,ArXVI (q,r,a,k,j)
andArXV (n=3)
lineslamb = 'ArXVII-wxyz'
w/ArXVII (w,x,y,z)
lineslamb = None
take the wavelength of reference of the crystal usedphi
(by default to 100)mode = 'raw det'
merge_rc_data = True
+plot_simu_image = True
Examples: