source: sasview/src/sas/sasgui/perspectives/file_converter/media/file_converter_help.rst @ 1f648cf8

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 1f648cf8 was da456fb, checked in by smk78, 8 years ago

Major updating of the test data documentation. Closes #710

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