Opened 15 years ago

Closed 15 years ago

#13 closed task (worksforme)

Separation of facility/file format-specific code from SANS Reduction

Reported by: srkline Owned by: srkline
Priority: major Milestone:
Component: SANS Reduction Keywords:
Cc: Blocking:
Task:

Description

The task is to separate the NCNR and VAX binary-specific calls and file handling into several separate files. This will make it easier to add additional raw SANS file formats, and also keep the main funcitonality of the code separate from the "details" of interacting with the file structure. Any future added functionality of the Reduciton software will benefit from this change.

MANY files and functions wil need to be shifted. The end product will be a few (?) procedure files that are facility specific "stubs" that can be filled in to suit a particular file format.

A branch was created 3/29/07 for this purpose. As of 4/4/07, the obvious header read/writes have been separated, and a second pass will weed out routines that rely on the VAX raw data file naming/ run number scheme.

Change History (2)

comment:1 in reply to: ↑ description Changed 15 years ago by srkline

  • Status changed from new to assigned

Status as of April 11th:
I believe that all of the NCNR-specific calls have been yanked out and put in separate files from the main section of the code. After some testing, it appears that the branch still functions for reduction without any problems. It is worth deciding if this branch be made the new "trunk" and the old one abandoned. Any major new changes should clearly start from this branch.

Left to do:
(testing, always)
Creating a list of the minimal values that must be loaded from raw data (R/T/I) and data for everything to function (->to Ken)
Creating Stubs of the functions that are to be filled in facility-specific (->to Ken)
Transmission and other functionality issues will be handled as they crop up.

-Steve

Replying to srkline:

The task is to separate the NCNR and VAX binary-specific calls and file handling into several separate files. This will make it easier to add additional raw SANS file formats, and also keep the main funcitonality of the code separate from the "details" of interacting with the file structure. Any future added functionality of the Reduciton software will benefit from this change.

MANY files and functions wil need to be shifted. The end product will be a few (?) procedure files that are facility specific "stubs" that can be filled in to suit a particular file format.

A branch was created 3/29/07 for this purpose. As of 4/4/07, the obvious header read/writes have been separated, and a second pass will weed out routines that rely on the VAX raw data file naming/ run number scheme.

comment:2 Changed 15 years ago by srkline

  • Resolution set to worksforme
  • Status changed from assigned to closed

Until I hear from Ken what (if any) bits of these changes don't work, or we get a new SANS data format, I consider this to be finished as far as it can go.

-Steve

Note: See TracTickets for help on using tickets.