Initial revision

This commit is contained in:
cvs
2000-02-07 10:38:55 +00:00
commit fdc6b051c9
846 changed files with 230218 additions and 0 deletions

46
doc/user/powdtcl.htm Normal file
View File

@ -0,0 +1,46 @@
<HTML>
<HEAD>
<TITLE>Powder</TITLE>
</HEAD>
<BODY>
<H1>Powder</H1>
<P>
SICS uses NeXus, based on HDF, as its raw dataformat. As first instrument
DMC is using this new data format. A common task at DMC is to sum and
concatenate measurements to a complete powder diagram. During this a detector
efficiency correction needs to be performed. Users may also request an absorption
correction to be performed. All this has been implemented as a set of
operations in Tcl. This allows for scripting user interfaces to this process.
</P>
<p>
This package installs one new command <EM>powder</EM> in Tcl. The principle
operation is that single diagrams are added into a list. Once this list is
complete the operator finish will do the necessary calculations.
powder understands the following operators:
<UL>
<LI><em>powder mur val</em>. Sets the absorption coefficient to val.
<LI><em>powder eff filename</em>. Sets the detector efficiency file to
use for efficiency correction. If none is specified no correction will be
performed.
<LI><em>powder add filename</em> Adds a powder diagram in ASCII format from
filename to the current list.
<LI><em>powder addnx filename</em>. Adds the powder diagram in NeXus format
to the current list.
<LI><em>powder sub filename</em> Adds a powder diagram in ASCII format from
filename to the current list. All counts are made neagtive in order to achieve
a subtraction.
<LI><em>powder subnx filename</em>. Adds the powder diagram in NeXus format
to the current list.All counts are made neagtive in order to achieve
a subtraction.
<LI><em>powder finish</em>. Initiates the actual calculation of the
concatenated powder diagram.
<LI><em>powder abs</em>. Performs absorption correction on the current
powder diagram. A value for mur must have been specified.
<LI><em>powder write filename</em>. Writes the result powder diagram to
an ASCII file in DMC format.
<LI><em>powder clear</em>. Deletes all internal buffers and lists prior to
a new calculation.
</UL>
</BODY>
</HTML>