Changeset d73998c in sasview for src/sas/sasgui/perspectives/file_converter
- Timestamp:
- Oct 8, 2016 11:07:32 AM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- e28f34d
- Parents:
- 381bafd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/file_converter/media/file_converter_help.rst
rda456fb rd73998c 9 9 ----------- 10 10 11 This tool converts file formats with the Q data and intensity datain separate12 files, into a single CanSAS XML or NXcanSAS HDF5file.11 This tool converts file formats with the Q data and Intensity data stored in separate 12 files, into a single CanSAS (XML) or NXcanSAS (HDF5) file. 13 13 14 It can also convert 2D BSL files into NXcanSAS HDF5 files.14 It can also convert 2D BSL/OTOKO files into a NXcanSAS file. 15 15 16 Supported input file formats :16 Supported input file formats (examples may be found in the /test/convertible_files folder): 17 17 18 * Single column ASCII data, with lines that end with a digit (no delimiter),19 comma or semi-colon.20 * ` One-Dimensional OTOKO formatted18 * Single-column ASCII data, with lines that end without any delimiter, 19 or with a comma or semi-colon delimiter 20 * `1D BSL/OTOKO format 21 21 <http://www.diamond.ac.uk/Beamlines/Soft-Condensed-Matter/small-angle/ 22 SAXS-Software/CCP13/ XOTOKO.html>`_ data.23 * ` Two-Dimensional BSL formatted22 SAXS-Software/CCP13/BSL.html>`_ data 23 * `2D BSL/OTOKO format 24 24 <http://www.diamond.ac.uk/Beamlines/Soft-Condensed-Matter/small-angle/ 25 SAXS-Software/CCP13/BSL.html>`_ data .25 SAXS-Software/CCP13/BSL.html>`_ data 26 26 27 Supported output file formats @27 Supported output file formats: 28 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>`_29 * `CanSAS <http://www.cansas.org/formats/canSAS1d/1.1/doc/>`_ 30 * `NXcanSAS <http://download.nexusformat.org/sphinx/classes/contributed_definitions/NXcanSAS.html>`_ 31 31 32 32 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ … … 35 35 -------------- 36 36 37 1) Select the files containing your Q- Axis and Intensity-Axis data38 2) Cho se whether the files are in ASCII, OTOKO or BSLformat39 3) Cho se where you would like to save the converted file37 1) Select the files containing your Q-axis and Intensity-axis data 38 2) Choose whether the files are in ASCII, 1D BSL/OTOKO or 2D BSL/OTOKO format 39 3) Choose where you would like to save the converted file 40 40 4) Optionally, input some metadata such as sample size, detector name, etc 41 5) Click *Convert* to save the converted file to disk41 5) Click *Convert* to save the converted file 42 42 43 43 Files With Multiple Frames 44 44 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 45 45 46 If a BSL/OTOKO file with multiple frames is selected for the intensity-axis46 If a BSL/OTOKO file with multiple frames is selected for the Intensity-axis 47 47 file, a dialog will appear asking which frames you would like converted. You 48 48 may enter a start frame, end frame & increment, and all frames in that subset 49 will be converted. For example: entering 0, 50 and 10 for the first frame, last 50 frame, and increment respectively will convert frames 0, 10, 20, 30, 40 & 50. 49 will be converted. For example, entering 0, 50 and 10 will convert frames 0, 50 10, 20, 30, 40 & 50. 51 51 52 To convert a single frame, enter the same value for first frame & last frame, 52 53 and 1 as the increment. … … 54 55 CanSAS XML files can become quite large when exporting multiple frames to a 55 56 single file, so there is an option in the *Select Frame* dialog to output each 56 frame to it 's own file. The single file option will produce one file with57 multiple `<SASdata>` elements. The multiple file option will output a file for58 each frame; each file will have one `<SASdata>` element, and the frame number 59 willappended to the file name.57 frame to its own file. The single file option will produce one file with 58 multiple `<SASdata>` elements. The multiple file option will output a separate 59 file with one `<SASdata>` element for each frame. The frame number will also be 60 appended to the file name. 60 61 61 The multiple file option is not available when exporting to NXcanSAS. All 62 frames will be written to the same file, since the HDF5 format is designed for 63 handling large amounts of data. 62 The multiple file option is not available when exporting to NXcanSAS because 63 the HDF5 format is more efficient at handling large amounts of data. 64 65 66 .. note:: 67 This help document was last changed by Steve King, 08Oct2016
Note: See TracChangeset
for help on using the changeset viewer.