Scripts for ID2A - PIPOXS

I've put together a number of python scripts for generating scans and processing data from ID2A - PIPOXS. These scripts are available on the station computer at XXXX and their syntax is detailed below:
fscanMaker

This script creates an XES fscan file based on the user's input energy or angle range. The script enables the collect of different "regions" within the same scan, so point density can be changed during a scan if desired.
RXESMaker

Makes a macro of scans to collect a RXES plane based on the user's input. An emission energy is set on DAVES and then the mono scans the desired XAS energy range. A single XAS scan is used throughout, though different regions along the XES axis can be specified to change the point density throughout the plane.
Energy - Motor Converter

This script converts a given energy value into DAVES analyzer positions.
RXESPlotter

Plots and intensity corrects a RXES plane.
SpecSplitting v1

This script splits a spec file into individual scan ASCII files, which is sometimes useful for things like Artemis.
SpecSplitting v2

Similar to above but with more features, like the ability to convert energy from keV to eV.

-- ChrisPollock - 24 May 2022

Topic attachments
I Attachment Action Size Date Who Comment
RIXSMaker_rev4.pypy RIXSMaker_rev4.py manage 22 K 23 Feb 2024 - 15:29 ChrisPollock  
SPEC_splitting_v1.pypy SPEC_splitting_v1.py manage 4 K 23 Feb 2024 - 15:26 ChrisPollock  
SPEC_splitting_v2.pypy SPEC_splitting_v2.py manage 10 K 03 May 2024 - 15:37 ChrisPollock  
fscanMaker_rev6.pypy fscanMaker_rev6.py manage 21 K 23 Feb 2024 - 15:29 ChrisPollock  
pseudo_motor_v1.pypy pseudo_motor_v1.py manage 5 K 23 Feb 2024 - 15:29 ChrisPollock  
This topic: CHESS/Operations > WebHome > ID2A > ScriptHideaway
Topic revision: 03 May 2024, ChrisPollock
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki? Send feedback