[2b7d102] | 1 | .. data_formats.rst |
---|
| 2 | |
---|
| 3 | .. This is a port of the original SasView html help file to ReSTructured text |
---|
| 4 | .. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. |
---|
| 5 | |
---|
| 6 | Data Formats |
---|
| 7 | ============ |
---|
| 8 | |
---|
| 9 | 1D_Formats_ |
---|
| 10 | |
---|
| 11 | 2D_Formats_ |
---|
| 12 | |
---|
| 13 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 14 | |
---|
| 15 | .. _1D_Formats: |
---|
| 16 | |
---|
| 17 | 1D Formats |
---|
| 18 | ---------- |
---|
| 19 | |
---|
| 20 | SasView will read files with 2 to 4 columns of numbers in the following order: |
---|
| 21 | |
---|
| 22 | Q, I(Q), (dI(Q), dQ(Q)) |
---|
| 23 | |
---|
| 24 | where dQ(Q) is the instrumental resolution in Q and assumed to have originated |
---|
| 25 | from pinhole geometry. |
---|
| 26 | |
---|
| 27 | Numbers can be separated by spaces or commas. |
---|
| 28 | |
---|
| 29 | SasView recognises the following file extensions: |
---|
| 30 | |
---|
[3fd3d5a4] | 31 | * .TXT |
---|
| 32 | * .ASC |
---|
| 33 | * .DAT |
---|
| 34 | * .XML (in canSAS format v1.0 and 1.1) |
---|
[2b7d102] | 35 | |
---|
| 36 | If using CSV output from, for example, a spreadsheet, ensure that it is not |
---|
| 37 | using commas as delimiters for thousands. |
---|
| 38 | |
---|
[3fd3d5a4] | 39 | For a description of the CanSAS/SASXML format see: |
---|
| 40 | http://www.cansas.org/formats/canSAS1d/1.1/doc/ |
---|
[6f10243] | 41 | |
---|
[3fd3d5a4] | 42 | For a description of the NIST 1D format see: |
---|
[2b7d102] | 43 | http://danse.chem.utk.edu/trac/wiki/NCNROutput1D_IQ |
---|
| 44 | |
---|
| 45 | For a description of the ISIS 1D format see: |
---|
| 46 | http://www.isis.stfc.ac.uk/instruments/loq/software/colette-ascii-file-format-descriptions9808.pdf |
---|
| 47 | |
---|
[3fd3d5a4] | 48 | *NOTE! SasView does not at present load data where the Q and I(Q) data are in |
---|
| 49 | separate files.* |
---|
[2b7d102] | 50 | |
---|
| 51 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 52 | |
---|
| 53 | .. _2D_Formats: |
---|
| 54 | |
---|
| 55 | 2D Formats |
---|
| 56 | ---------- |
---|
| 57 | |
---|
| 58 | SasView will only read files in the NIST 2D format with the extensions |
---|
| 59 | .ASC or .DAT |
---|
| 60 | |
---|
| 61 | Most of the header lines can be removed except the last line, and only the |
---|
| 62 | first three columns (Qx, Qy, and I(Qx,Qy)) are actually required. |
---|
| 63 | |
---|
| 64 | For a description of the NIST 2D format see: |
---|
| 65 | http://danse.chem.utk.edu/trac/wiki/NCNROutput1D_2DQxQy |
---|
| 66 | |
---|
| 67 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
[3fd3d5a4] | 68 | |
---|
| 69 | .. note:: This help document was last changed by Steve King, 18Feb2015 |
---|