source: sans/utils/Teabag/sa_data.h @ 838

Last change on this file since 838 was 837, checked in by ajj, 11 years ago

Checkin of Teabag code for TISANE.

File size: 2.1 KB
Line 
1#ifndef _sa_data_h
2#define _sa_data_h
3
4struct sanshdr {
5  /* Allot one extra character per string for the terminating null character */
6  char fname[22];
7  struct run {
8    int   npre,
9          ctime,
10          rtime,
11          numruns;
12    float moncnt,
13          savmon,
14          detcnt,
15          atten;
16    char  timdat[21],
17          type[4],
18          defdir[12],
19          mode,
20          reserve[9];
21  } run;
22  struct sample {
23    char  labl[61];
24    float trns,
25          thk,
26          position,
27          rotang;
28    int   table,
29          holder,
30          blank;
31    float temp,
32          field;
33    int   tctrlr,
34          magnet;
35    char  tunits[7],
36          funits[7];
37  } sample;
38  struct det {
39    char  typ[7];
40    float calx[3],
41          caly[3];
42    int   num,
43          spacer;
44    float beamx,
45          beamy,
46          dis,
47          ang,
48          siz,
49          bstop,
50          blank;
51  } det;
52  struct resolution {
53    float ap1,
54          ap2,
55          ap12dis,
56          lmda,
57          dlmda,
58          save;
59  } resolution;
60  struct timeslicing {
61    int   slicing;
62    int   multfact,
63          ltslice;
64  } tslice;
65  struct temp {
66    int   printemp;
67    float hold,
68          err,
69          blank;
70    int   extra,
71          reserve;
72  } temp;
73  struct magnet {
74    int   printmag,
75          sensor;
76    float current,
77          conv,
78          fieldlast,
79          blank,
80          spacer;
81  } magnet;
82  struct bmstp {
83    float xpos,
84          ypos;
85  } bmstp;
86  struct params {
87    int   blank1,
88          blank2,
89          blank3;
90    float trnscnt,
91          extra1,
92          extra2,
93          extra3;
94    char  reserve[43];
95  } params;
96  struct voltage {
97    int   printvolt;
98    float volts,
99          blank;
100    int   spacer;
101  } voltage;
102  struct polarization {
103    int   printpol,
104          flipper;
105    float horiz,
106          vert;
107  } polarization;
108  struct analysis {
109    int   rows[2],
110          cols[2];
111    float factor,
112          qmin,
113          qmax,
114          imin,
115          imax;
116  } analysis;
117};
118
119typedef struct sanshdr SANSHDR;
120#endif /* _sa_data_h */
Note: See TracBrowser for help on using the repository browser.