source: sasview/src/sas/sasgui/perspectives/file_converter/media/file_converter_help.rst @ 94f4518

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 94f4518 was 94f4518, checked in by lewis, 8 years ago

Add option to export multiple frames as one file or multiple files

  • Property mode set to 100644
File size: 1.8 KB

File Converter Tool

Description

This tool converts file formats with the Q data and intensity data in separate files, into a single CanSAS XML file.

The input files can be:

  • Single column ASCII data, with lines that end with a digit (no delimiter), comma or semi-colon.
  • BSL/OTOKO formatted data files.

Using the Tool

  1. Select the files containing your Q-Axis and Intensity-Axis data
  2. Chose whether the files are in ASCII or BSL format
  3. Chose where you would like to save the converted XML file
  4. Optionally, input some metadata such as sample size, detector name, etc
  5. Click Convert to save the converted file to disk

Files With Multiple Frames

If a BSL/OTOKO file with multiple frames is selected for the intensity-axis file, a dialog will appear asking which frames you would like converted. You may enter a start frame, end frame & increment, and all frames in that subset will be converted. For example: entering 0, 50 and 10 for the first frame, last frame, and increment respectively will convert frames 0, 10, 20, 30, 40 & 50. To convert a single frame, enter the same value for first frame & last frame, and 1 as the increment.

There is also the option to output the data as multiple frames in a single CanSAS file, or multiple files with one frame each. The single file option will produce one file with multiple <SASdata> elements. The multiple file option will output a file for each frame; each file will have one <SASdata> element, and the frame number will appended to the file name.

Note: See TracBrowser for help on using the repository browser.