Opened 12 years ago

Closed 12 years ago

#291 closed bug (fixed)

Slit height should be +ve in XML data

Reported by: ajj Owned by: ajj
Priority: major Milestone: Release 7.0 Maintenance
Component: USANS Reduction Keywords:
Cc: Blocking:
Task:

Description

When writing the NIST format data for USANS we put the slit height in as -0.117 so that we can tell if the data is USANS or SANS by the sign of the resolution column.

In the XML data format it should always be positive.

Anywhere that the value is actually used for something it should take abs(slit height).

Change History (2)

comment:1 Changed 12 years ago by ajj

  • Component changed from Analysis to USANS Reduction

comment:2 Changed 12 years ago by srkline

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

Now, the XML writer writes out + dQv to the dQl field for each point. Since this field in the XML file identifies the data as USANS, it is used as the flag. Upon loading the global USANS_dQv is set to abs(dQv)

our old 6-column format still writes out the last three columns as -(dQv) and keys on the negative number to flag it as USANS.

Note: See TracTickets for help on using tickets.