source: sasview/src/sas/sasgui/guiframe/media/data_formats_help.rst @ d85c194

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since d85c194 was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 8 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[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
[a9dc4eb]6.. _Formats:
7
[2b7d102]8Data Formats
9============
10
[a9dc4eb]11SasView reads several different 1D (I(Q) vs Q) and 2D (I(Qx,Qy) vs (Qx,Qy))
12data files. But please note that SasView does not at present load data where
13the Q and I(Q) data are in separate files.
[2b7d102]14
151D Formats
16----------
17
18SasView will read files with 2 to 4 columns of numbers in the following order:
19
20    Q, I(Q), (dI(Q), dQ(Q))
21   
22where dQ(Q) is the instrumental resolution in Q and assumed to have originated
23from pinhole geometry.
24
25Numbers can be separated by spaces or commas.
26
27SasView recognises the following file extensions:
28
[3fd3d5a4]29*  .TXT
30*  .ASC
31*  .DAT
32*  .XML (in canSAS format v1.0 and 1.1)
[2b7d102]33
34If using CSV output from, for example, a spreadsheet, ensure that it is not
35using commas as delimiters for thousands.
36
[3fd3d5a4]37For a description of the CanSAS/SASXML format see:
38http://www.cansas.org/formats/canSAS1d/1.1/doc/
[6f10243]39
[3fd3d5a4]40For a description of the NIST 1D format see:
[2b7d102]41http://danse.chem.utk.edu/trac/wiki/NCNROutput1D_IQ
42
43For a description of the ISIS 1D format see:
44http://www.isis.stfc.ac.uk/instruments/loq/software/colette-ascii-file-format-descriptions9808.pdf
45
46.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
47
482D Formats
49----------
50
51SasView will only read files in the NIST 2D format with the extensions
52.ASC or .DAT
53
54Most of the header lines can be removed except the last line, and only the
55first three columns (Qx, Qy, and I(Qx,Qy)) are actually required.
56
57For a description of the NIST 2D format see:
58http://danse.chem.utk.edu/trac/wiki/NCNROutput1D_2DQxQy
59
60.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
[3fd3d5a4]61
[a9dc4eb]62.. note::  This help document was last changed by Steve King, 01May2015
Note: See TracBrowser for help on using the repository browser.