Task 2.1 Definition of data formats

 

The definition of data formats is important to facilitate data exchange at all stages of the strain measurement and stress analysis process. The SPOTS partners have agreed on the use of the format described below during the course of the project, with the intention of recommending it for use in an international standard in the subject.

 

The standard format will be ASCII for the exchange of all types of data. The format of the ASCII file is given below, with the format shown on the left and an example provided on the right. For visualisation purposes only, 8-bit BMP files may also be used exchanged. The use of a header should be compulsory, but that it should provide the minimum information required for data exchange. The primary concern of the user will be to read the file. In additional information required for validation and detailed interpretation could be included in a log file whose details would be given in the header.

 

To assist the user a pair of software tools are provided to build (SPOTSBuilder) and read (SPOTSReader) the standard data set. These are provided without instructions though their use should be intuitive especially to LabView users. The SPOTS partners accept no liability for the use or consequences arising from the use of SPOTSBuilder and SPOTSReader.

 

Standard File Format for Data Exchange

Description of line in file

Example of file content

 

 

File Descriptor

This is my excellent data

Measurand (e.g. intensity, phase, displacement, strain)

shear strain

units of measurand (AU-arbitrary units for intensity)

m/m

no. of pixels in each row

5

no. of pixels in each column

10

pixel pitch at sample plane in row (units: m)

0.001E00

pixel pitch at sample plane in column (units: m)

00.012E00

transformation matrix for local to global axes

r11 r21 r31 t1

1 1 1 0

r12 r22 r32 t2

1 1 1 0

r13 r23 r33 t3

1 1 1 0

Fixed last line of transformation matrix

0 0 0 1

End Of Header

EOH

Data in rows with single space delimiters. Masks indicated by NAN. Origin defined at bottom left corner.

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

0.000E00 0.000E00 NAN 0.000E00 0.000E00

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

0.000E00 0.000E00 0.000E00 0.000E00 0.000E00

End Of File

EOF

 

 

home