Ticket #1453 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Create a routine that can load the various ASCII files produced by the current SNS data reduction

Reported by: Jean Bilheux Owned by:
Priority: minor Milestone: Iteration 24
Component: Keywords:
Cc: Blocked By:
Blocking: Tester: Mathieu Doucet

Description

This routine (loadSpec) will be able to load the 3 columns ascii files produced by the current implementation of the data reduction at the SNS.
An example of such a file is joined to this ticket. Here is a list of things to take into account in this program:

  • comments at the top of the file and up to the first blank line will be ignored (commented line starts with a '#').
  • the commented line placed just before the data will be used to retrieve the units and labels of the axes.
  • x-axis (first column) will have 1 more element than the other columns.

Attachments

spec_example_file.txt (3.6 KB) - added by Jean Bilheux 10 years ago.
Example of such an ASCII file

Change History

Changed 10 years ago by Jean Bilheux

Example of such an ASCII file

comment:1 Changed 10 years ago by Jean Bilheux

(In [5571]) Added first version. Units are not reported yet. This refs #1453

comment:2 Changed 10 years ago by Peter Peterson

(In [5573]) Fixed import statement. Refs #1453.

comment:3 Changed 10 years ago by Jean Bilheux

  • Status changed from new to closed
  • Resolution set to fixed

(In [5591]) Finished up implementation of LoadSpec. Added units property. This fixed #1453

comment:4 Changed 10 years ago by Nick Draper

  • Status changed from closed to verify

moved to verify

comment:5 Changed 10 years ago by Mathieu Doucet

  • Status changed from verify to verifying
  • Tester set to Mathieu Doucet

comment:6 Changed 10 years ago by Mathieu Doucet

(In [5937]) Cleaned up code style, added test. Re #1453

comment:7 Changed 10 years ago by Mathieu Doucet

  • Status changed from verifying to closed

Works. Might want to think about checking that each data line is complete with 3 entries (X,Y,E).

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2300

Note: See TracTickets for help on using tickets.