source: sasview/src/sas/sasgui/perspectives/file_converter/media/file_converter_help.rst @ 97e90b7

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

Add links to output formats in file_converter docs

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[11794f2]1.. file_converter_help.rst
2
3File Converter Tool
4===================
5
6Description
7-----------
8
9This tool converts file formats with the Q data and intensity data in separate
[d3e1870]10files, into a single CanSAS XML or NXcanSAS HDF5 file.
[11794f2]11
[d3e1870]12It can also convert 2D BSL files into NXcanSAS HDF5 files.
[ebc1407]13
[97e90b7]14Supported input file formats:
[11794f2]15
[94f4518]16*   Single column ASCII data, with lines that end with a digit (no delimiter),
17    comma or semi-colon.
[ebc1407]18*   `One-Dimensional OTOKO formatted
19    <http://www.diamond.ac.uk/Beamlines/Soft-Condensed-Matter/small-angle/
[97e90b7]20    SAXS-Software/CCP13/XOTOKO.html>`_ data.
[ebc1407]21*   `Two-Dimensional BSL formatted
[11794f2]22    <http://www.diamond.ac.uk/Beamlines/Soft-Condensed-Matter/small-angle/
[97e90b7]23    SAXS-Software/CCP13/BSL.html>`_ data.
24
25Supported output file formats@
26
27*   `CanSAS XML <http://www.cansas.org/formats/canSAS1d/1.1/doc/>`_
28*   `NXcanSAS HDF5 <http://download.nexusformat.org/sphinx/classes/contributed_definitions/NXcanSAS.html>`_
[11794f2]29
30.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
31
32Using the Tool
33--------------
34
[eb8da5f]351) Select the files containing your Q-Axis and Intensity-Axis data
[ebc1407]362) Chose whether the files are in ASCII, OTOKO or BSL format
373) Chose where you would like to save the converted file
[11794f2]384) Optionally, input some metadata such as sample size, detector name, etc
395) Click *Convert* to save the converted file to disk
[eb8da5f]40
[94f4518]41Files With Multiple Frames
42^^^^^^^^^^^^^^^^^^^^^^^^^^
43
44If a BSL/OTOKO file with multiple frames is selected for the intensity-axis
45file, a dialog will appear asking which frames you would like converted. You
46may enter a start frame, end frame & increment, and all frames in that subset
47will be converted. For example: entering 0, 50 and 10 for the first frame, last
48frame, and increment respectively will convert frames 0, 10, 20, 30, 40 & 50.
49To convert a single frame, enter the same value for first frame & last frame,
50and 1 as the increment.
51
[d3e1870]52CanSAS XML files can become quite large when exporting multiple frames to a
53single file, so there is an option in the *Select Frame* dialog to output each
54frame to it's own file. The single file option will produce one file with
55multiple `<SASdata>` elements. The multiple file option will output a file for
56each frame; each file will have one `<SASdata>` element, and the frame number
57will appended to the file name.
[ebc1407]58
[d3e1870]59The multiple file option is not available when exporting to NXcanSAS. All
60frames will be written to the same file, since the HDF5 format is designed for
61handling large amounts of data.
Note: See TracBrowser for help on using the repository browser.