source: sasview/src/sas/sasgui/perspectives/file_converter/media/file_converter_help.rst @ 59decb81

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.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 59decb81 was 59decb81, checked in by lewis, 7 years ago

Update file converter docs to include 2D ASCII data

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[11794f2]1.. file_converter_help.rst
2
[da456fb]3.. _File_Converter_Tool:
4
[11794f2]5File Converter Tool
6===================
7
8Description
9-----------
10
[d73998c]11This tool converts file formats with the Q data and Intensity data stored in separate
12files, into a single CanSAS (XML) or NXcanSAS (HDF5) file.
[11794f2]13
[d73998c]14It can also convert 2D BSL/OTOKO files into a NXcanSAS file.
[ebc1407]15
[d73998c]16Supported input file formats (examples may be found in the /test/convertible_files folder):
[11794f2]17
[d73998c]18*   Single-column ASCII data, with lines that end without any delimiter,
19    or with a comma or semi-colon delimiter
[59decb81]20*   2D `ISIS ASCII formatted
21    <http://www.isis.stfc.ac.uk/instruments/loq/software/
22    colette-ascii-file-format-descriptions9808.pdf>`_ data
[d73998c]23*   `1D BSL/OTOKO format
[ebc1407]24    <http://www.diamond.ac.uk/Beamlines/Soft-Condensed-Matter/small-angle/
[d73998c]25    SAXS-Software/CCP13/BSL.html>`_ data
26*   `2D BSL/OTOKO format
[11794f2]27    <http://www.diamond.ac.uk/Beamlines/Soft-Condensed-Matter/small-angle/
[d73998c]28    SAXS-Software/CCP13/BSL.html>`_ data
[97e90b7]29
[d73998c]30Supported output file formats:
[97e90b7]31
[d73998c]32*   `CanSAS <http://www.cansas.org/formats/canSAS1d/1.1/doc/>`_
33*   `NXcanSAS <http://download.nexusformat.org/sphinx/classes/contributed_definitions/NXcanSAS.html>`_
[11794f2]34
35.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
36
37Using the Tool
38--------------
39
[d73998c]401) Select the files containing your Q-axis and Intensity-axis data
[59decb81]412) Choose whether the files are in ASCII 1D, ASCII 2D, 1D BSL/OTOKO or 2D BSL/OTOKO format
[d73998c]423) Choose where you would like to save the converted file
[11794f2]434) Optionally, input some metadata such as sample size, detector name, etc
[d73998c]445) Click *Convert* to save the converted file
[eb8da5f]45
[94f4518]46Files With Multiple Frames
47^^^^^^^^^^^^^^^^^^^^^^^^^^
48
[d73998c]49If a BSL/OTOKO file with multiple frames is selected for the Intensity-axis
[94f4518]50file, a dialog will appear asking which frames you would like converted. You
51may enter a start frame, end frame & increment, and all frames in that subset
[59decb81]52will be converted. For example, entering 0, 50 and 10 will convert frames 0,
[d73998c]5310, 20, 30, 40 & 50.
54
[94f4518]55To convert a single frame, enter the same value for first frame & last frame,
56and 1 as the increment.
57
[d3e1870]58CanSAS XML files can become quite large when exporting multiple frames to a
59single file, so there is an option in the *Select Frame* dialog to output each
[d73998c]60frame to its own file. The single file option will produce one file with
[59decb81]61multiple `<SASdata>` elements. The multiple file option will output a separate
62file with one `<SASdata>` element for each frame. The frame number will also be
[d73998c]63appended to the file name.
64
[59decb81]65The multiple file option is not available when exporting to NXcanSAS because
[d73998c]66the HDF5 format is more efficient at handling large amounts of data.
67
68
69.. note::
70    This help document was last changed by Steve King, 08Oct2016
Note: See TracBrowser for help on using the repository browser.