V3FIT
Functions/Subroutines
sxrem_ratio_dot Module Reference

Module for opening and reading a 'sxrem_ratio.' file. The file format for these files are documented in Soft X-ray Emissivity Ratio Dot File. More...

Functions/Subroutines

subroutine sxrem_ratio_dot_read (sxrem_ratio_file, signals, signals_created, observed, sigma, weight, first_index)
 Read an sxrem ratio dot file. More...
 
subroutine sxrem_ratio_dot_parse_chord (sxrem_ratio_dot_file_ref, coordinate_type, signals, signals_created, observed, sigma, weight, first_index)
 Parse soft x-ray ratio point. More...
 

Detailed Description

Module for opening and reading a 'sxrem_ratio.' file. The file format for these files are documented in Soft X-ray Emissivity Ratio Dot File.

Function/Subroutine Documentation

◆ sxrem_ratio_dot_parse_chord()

subroutine sxrem_ratio_dot::sxrem_ratio_dot_parse_chord ( type(signal_dot_file), intent(inout)  sxrem_ratio_dot_file_ref,
character (len=*)  coordinate_type,
type (signal_pointer), dimension(:), intent(inout)  signals,
integer, intent(inout)  signals_created,
real (rprec), dimension(:), intent(in)  observed,
real (rprec), dimension(:), intent(in)  sigma,
real (rprec), dimension(:), intent(in)  weight,
integer, intent(inout)  first_index 
)

Parse soft x-ray ratio point.

Parses a signle chord. Chords are laid out as,

  • chord_name
  • Starting point as three reals.
  • Ending point as three reals.
Parameters
[in]sxrem_ratio_dot_file_refName of the sxrem_ratio file.
[in]coordinate_typeSpecifies the cartesian or cylindrical coordinate type.
[in,out]signalsArray of pointers to the a signal.
[in,out]signals_createdNumber valid signals in the array, or index of the last signal created.
[in]observedArray of observed values.
[in]sigmaArray of observed sigma values.
[in]weightArray of signal weight values.
[in,out]first_indexIndex of the first instance of an intpol.

Definition at line 206 of file sxrem_ratio_dot.f.

◆ sxrem_ratio_dot_read()

subroutine sxrem_ratio_dot::sxrem_ratio_dot_read ( character (len=path_length), intent(in)  sxrem_ratio_file,
type (signal_pointer), dimension(:), intent(inout)  signals,
integer, intent(inout)  signals_created,
real (rprec), dimension(:), intent(in)  observed,
real (rprec), dimension(:), intent(in)  sigma,
real (rprec), dimension(:), intent(in)  weight,
integer, intent(inout)  first_index 
)

Read an sxrem ratio dot file.

Parses the structure of a dignostic dot file and constructs a sxrem_ratio object. Each chord is parsed by sxrem_ratio_dot_parse_chord.

Parameters
[in]sxrem_ratio_fileName of the sxrem_ratio. file.
[in,out]signalsArray of pointers to the a signal
[in,out]signals_createdNumber valid signals in the array, or index of the last signal created.
[in]observedArray of observed values.
[in]sigmaArray of observed sigma values
[in]weightArray of signal weight values
[in,out]first_indexIndex of the first instance of an intpol signal.

Definition at line 105 of file sxrem_ratio_dot.f.