STANEF, A Program for FORMATTING an ENDF Data File

STANEF is designed to perform standard formatting operations on a data file containing one or more material evaluations in ENDF format.

These operations include:



Help Contents

Input
Input File
Output File
Tape Label
Tape Mode
Directory
Numeric Fields
Run
Output Window
Edit Input




Input

The input needed to run the STANEF program consists of:

Input file

The ENDF-formatted input file must be selected before any of the other input options can be set. The standard windows file selection dialog window is used. By default, only the files with the name *.ENDF located in the current directory are listed. One can choose to see files with the *.DAT or *.TXT name or with any name in any folder. When you have selected a file, use the OPEN button to continue, or the CANCEL button to terminate the program. The file specification is displayed on the input form and the other input options are activated.


Output file

By default, the standardized ENDF-formatted output file specification is the same as the input file specification except that it has the extension .STN. The user can modify this default value using the output file edit box.


Tape Label

Each ENDF "tape" usually has a tape label that is the first record in the file. This record consists of up to 66 characters of descriptive text that appears in the first 66 character positions of the record and of an integer ID that appears in the positions 67-70 of the record. The input default for ID is zero, which indicates that a label if it exists is not to be modified. If a number greater than zero is entered, then a tape label is added if there is none or modified if there is one. The text entered in the tape label text edit box is placed in the first 66 positions of the new or revised tape label. If the number entered is less than zero, then the new file has no label.


Tape Mode

There are two recognized file forms for ENDF-formatted files. The most commonly used form is the ASCII 80-character record format. These are physical records. There is also a variable length binary format in which logical records such as CONT, TAB1, etc. consisting of multiple physical ASCII record are written as a single binary record in the output file. By selecting the binary option, an input ASCII file can be converted to binary format. No other output file options are permitted if the output file is to be binary.


Directory

The first section of each material evaluation (MF=1, MT-451) contains a directory, which lists each section, the number of physical record in the section and the MOD number of the section. If the new directory option is selected, then a new directory is constructed for each material from the contents of that material.

In the ENDF-6 format, the seventh, eighth and ninth physical records of the first section have been given well-defined formats identifying the library (e.g. ENDF/B), the material number, the material mod number, the incident particle and the format (e.g. ENDF-6). These records are derivable from integer fields in the first six physical records. These special text records are created or modified when the directory option is selected. This option is not valid for binary output. In that case, one must create an updated ASCII file and then convert that file to binary.


Numeric Fields

According to ENDF conventions, the floating-point data fields contain numbers written in a standard exponential format within in an 11-character field, e.g. -1.234509+2, 0.000000+0, 3.14628+12. When numeric standardization is selected, all floating-point fields are converted to this format. Because of the need to preserve as many significant figures as possible in order to distinguish between two neighboring resonances, an option has been provided to prevent conversion of the floating-point fields in file 2 while converting all such fields in the rest of an evaluation.


Run

STANEF can be run only after an input file has been specified. At this time, the default selections are set and the RUN button activated. The program can be terminated at any time by selecting a CANCEL button or a CANCEL menu item. When the desired options have been set, select the RUN button to process the input file. The processing box in the dialog box will be activated. The MAT, MF, and MT numbers are displayed there as each section of the input file is processed.


Output Window

When the processing of the input file has been completed, the input dialog box disappears. The output report file is saved with the file specifications in the input dialog box. The report file is also displayed in a scrollable window. The window has menu items, which allow the user to print the message file, edit the input file, rerun the checking program on a modified input file, or simply exit from the program.


Edit Window

The input file can be modified when the EDIT menu item is selected. The output message file window closes and the NEDIT editor is invoked with the input file ready for editing. If the NEDIT editor is not installed, then the programm look s for EMACS, ED or VI in that order.



Top of Page Contents