Skip Navigation Links
Skip navigation links
Beamlines
IndSci
OMF
Outreach
Floor Coordinators
CAD
Test
WIRMS
Meetings
CLS Open Source Software
Skip navigation links
Discussions
FAR-IR Collaboration Site Suggestions
Lists
Useful Links
Conferences
USERS WEBSITES
FAR-IR BEAMLINE PEOPLE
Beamteam Members
Documents
Far-IR Wiki
FAR-IR Experimental Worksheet
Beamline Information
OPUS MACROS
Manuals
Electronic Poster Session
Topics in Coherent Synchrotron Radiation (CSR) Workshop: Experimental Consequences of Radiation Impedance
Modify settings and columns
OPUS MACROS

Here you will find some potentially useful OPUS Macros written at the CLS. Note: these macros are provided without warrenty and remain the property of CLSI.

Information on Macros:

Parameter Advisor -  The purpose of the software is to advise the user of new instrument parameters for a higher resolution scan, after a low resolution scan is taken. The program is designed to calculate one of the three new parameters: new pathlength, new pressure or transmission prediction. A detailed manual is included in the Zip File

SN - This macro produces signal to noise plots. When run the macro will request that you choose:

Start and End postions in wavenumbers, this defines the range over which the calculation will be done.

StepSize in wavenumbers, this defines the portion of the spectrum that will be used to calculate each signal to noise point.

A data block to do the calculation on.

The results will be saved in the same folder which the raw data is saved in. the file name will be the same as the raw data save proceeded by SN_.

For example; If you had a file named test with a single beam block and requested the macro to run from 500 to 600 wavenumbers with a 1 wavenumber step size, the signal to noise from 500 to 501 would be calulated and ploted followed by 501 to 502  and 502 to 503 and so on till 100 signal to noise points were calcualted covering the 500 to 600 region. The results would be saved as SN_test.

REPEATSCAN - This Macro will likely be of more interest to other people using the IFS 125 HR spectrometer. When running at lower velocities and higher resolutions using OPUS repeated measurement function the spectrometer tends to fail to collect data on some scans. That is the mirror will move through its moition but no data will be collected. This can lead to very significant lose of time. After much research it was found that this is due to the details of how the repeated measurement function actually works. REPEATSCAN essentially does the same thing as repaeted measurement but without this problem. To use it you must set up the parameter file named EXP.xpm in the C: drive (the code can be easily modefied to choose any path, contact me for more information). When the macro runs it will ask how many repeats you want and the length of delay you would like between each one. The macro will simply repeat the measurement outined in the parameter file for the number of times you ask.  

 

  
View: 
Parameter_Advisor.zip
Parameter_AdvisorUse SHIFT+ENTER to open the menu (new window).
7/14/2010 2:06 PMBrant Billinghurst
REPEATSCAN.mtx
REPEATSCANUse SHIFT+ENTER to open the menu (new window).
7/14/2010 1:04 PMBrant Billinghurst
SN.mtb
SNUse SHIFT+ENTER to open the menu (new window).
7/14/2010 1:03 PMBrant Billinghurst