Perl-Spectra
Version January 2, 2024
by
Thorsten Kracht
- Contents
- List of Figures
- Spectra meets Perl
- News
- Devices, Symbols and Markers
- Motors
- Scans
- Functions
- General remarks
- Miscellaneous Spectra Functions
- activate(), deactivate()
- autoscale()
- attribute()
- book_name(), book_slot(), book_subindex()
- calc()
- ceil(), floor()
- cleanup()
- cls()
- date(), date_and_time(), doty(), doty2date(), time_stamp_nexus()
- delete()
- display()
- dump()
- flag()
- linear_regression(), parabolic_regression()
- get_last_error()
- gra_command()
- key(), keyw()
- max(), min()
- postscript(), print()
- read()
- read_line()
- roi()
- run()
- secnds()
- spectra_dir()
- symbol_alias()
- ssa()
- version()
- yesno(), noyes()
- Special Functions
- Miscellaneous Online functions
- Util::append_scan_info_file()
- awe()
- create_scan_name()
- define()
- device(), n_device()
- device_record()
- device_type()
- doris(), doris_is_sync_run(), doris_state(), doris_wait_for_sync_run()
- elcomat(), elcomat_ascii()
- get_counters(), get_motors(), get_timers(), etc.
- get_devices(), get_modules()
- log()
- mpa3()
- petra(), petra_is_sync_run(), petra_state(), petra_wait_for_sync_run()
- privilege()
- protect()
- module_name()
- ortec972()
- search_device()
- TkITableBlank(), TkITablePop()
- trainno()
- Spectra::was_beamlos_doris()
- Spectra::was_beamlos_petra()
- Spectra::was_injection()
- waveform(), dso()
- vhq205l(), HV power supply
- vhsc005n(), HV power supply
- Miscellaneous Utility Functions
- ADC/DAC, MCA
- Counter/timer
- Diffractometer
- diff_h, diff_k, diff_k, diff_psi
- diff_psirefx, diff_psirefy, diff_psirefz (Tango)
- diff_mode, diff_asn
- diff_mu, diff_omega, diff_chi, diff_phi, diff_gamma, diff_delta, diff_two_theta
- diff_get_r0, diff_set_r0, ~r1
- diff_compute_u (Tango)
- diff_angles()
- diff_ang2h, diff_ang2k, diff_ang2l, diff_ang2psi
- diff_hkl2two_theta, diff_hkl2omega, diff_hkl2chi, diff_hkl2phi, diff_hkl2mu, diff_hkl2gamma, diff_hkl2delta
- diff_calc_angles()
- diff_hkl()
- diff_gk1, diff_gk2, diff_gk3, diff_gw1, diff_gw2, diff_gw3
- attribute( name => "ub_matrix", ...) (non-Tango)
- Absorber
- Encoder
- Image Plate Scanner
- Hexapod (Beamline L)
- LCX
- MARCCD
- Monochromator
- Motor
- NeXus
- Perkin Elmer
- Photonic Science
- Pilatus-300k
- Prosilica
- The pulse generator
- Register
- Tango
- Undulator/wiggler
- Functions for G1
- Functions for W3
- Working with GQEs
- Data Busses
- The Low Level Spectra Interface
- Examples
- Centering Slits using a Profile and SSA, P02
- PE image series, incl. loop over SDD positions, P02
- Converting .fio to .dat files
- ROIs from many files
- SSA for many .fio Files
- Asynchronous Move, P09
- Asynchronous Moves
- MCA()
- Scans (measurements)
- DUMMY Scan
- Single Motor Scan
- 2D Scan, Single Motor Scan with Outer Loop
- 2D Scan, Flipping the Scan Direction
- 3D Scan, Flipping the Scan Direction
- Alignment of 8 Motors, SLAC
- spirale.pl, using profile, P10
- Lenses, using profile, P03
- Photonic Science Camera, using profile, P03
- Motor Regions Scan
- Energy Scan
- EXAFS Scan
- Combined Move (CM) Scan
- Omega-2Theta Scan, 2Theta-Omage Scan
- 2Theta Scan
- hkl Scans
- Scan/Reflection
- Slit Scan
- Continuous Move Scan
- Om-tt scan with outer loop
- Sweep with outer loop motor, P10
- SCAN (GQE)
- Virtual motors
- Virtual counters
- Pilatus, Single Shot, P03
- Pilatus, Multiple Frames, P03
- Lima
- ADQ1600, P01, XFEL-WP76
- Keithley 6517a, Current Attribute, Tango
- Keithley 617, NON-Tango
- Encoder raw position
- Send an email, if a counter shows a signal
- Lecroy DSO
- Lissajou Figures
- Bibliography
- Index
- About this document ...