Difference: Atf2LwDaqSoftware (3 vs. 4)

Revision 406 Apr 2012 - LaurieNevay

Line: 1 to 1
 
META TOPICPARENT name="Atf2Laserwire"
Line: 15 to 15
 
lws Laser-wire scan of any kind
otr OTR data of any kind
log Data that is not specifically as a scan
Added:
>
>
pos A single sample of data for positions
tst A file used for testing purposes
  eg. 20121201_1106_lws.dat
Line: 28 to 30
 token 3 > s etc
Changed:
<
<
where s is a sample for that token - this can be a single number or array. For each sample, all tokens are recorded on a new line. Values are separated by a single space ' '. eg: 'cbpmamp> 2031' or cbpmx> 123 32 4245 432 ....'. The tokens are
>
>
where s is a sample for that token - this can be a single number or array. For each sample, all tokens are recorded on a new line. Values are separated by a single space ' '. eg: 'cbpmamp> 2031' or cbpmx> 123 32 4245 432 ....'.

This data can be cleverly searched in the command line using egrep (extended grep).

egrep '\<string\>' filename.dat

where string is typically a variable name:

  • egrep '\<cherenkov\>' 20120406_0026_tst.dat
  • cherenkov> 215.0
  • cherenkov> 218.0
  • cherenkov> 214.0
  • cherenkov> 213.0

 
Deleted:
<
<
Token Values
ipmove  
camac
cbpmamp
cbpmx
cbpmy
atf
laser
temp
movers
 
Deleted:
<
<
This structure is contained within the Acquisition class. The Data class merely has the tokens as lists. When the data is read the data instance has each token as a subinstance. These contain a list of all the values in one big long list. If a scan was performed, this list must be chopped to be useful. This is done in the Analysis Class. At the start of each data file, there is an info> token that has details of what the data was for - i.e. a scan - how many steps, what step size etc so the data can be chopped up accordingly.
 

Control

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback