V3FIT
|
Module for opening and reading a 'sxrch.' file. The file format for these files are documented in Soft X-Ray Diagnostic Dot File. More...
Functions/Subroutines | |
subroutine | sxrch_dot_read (sxrch_file, signals, signals_created, observed, sigma, weight, first_index) |
Read a soft x-ray diagnostic dot file. More... | |
subroutine | sxrch_dot_parse_chord (sxrch_dot_file_ref, coordinate_type, signals, signals_created, observed, sigma, weight, current_profile, first_index, use_geo, is_ti) |
Parse soft x-ray diagnostic chord. More... | |
Module for opening and reading a 'sxrch.' file. The file format for these files are documented in Soft X-Ray Diagnostic Dot File.
subroutine sxrch_dot::sxrch_dot_parse_chord | ( | type (signal_dot_file), intent(inout) | sxrch_dot_file_ref, |
character (len=*), intent(in) | 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(in) | current_profile, | ||
integer, intent(inout) | first_index, | ||
logical, intent(in) | use_geo, | ||
logical, intent(in) | is_ti | ||
) |
Parse soft x-ray diagnostic chord.
Parses a single chord. Chords are laid out as,
[in] | sxrch_dot_file_ref | Reference to the sxrch. file. |
[in] | coordinate_type | Specifies the cartesian or cylindrical coordinate type. |
[in,out] | signals | Array of pointers to the a signal |
[in,out] | signals_created | Number valid signals in the array, or index of the last signal created. |
[in] | observed | Array of observed values. |
[in] | sigma | Array of observed sigma values |
[in] | weight | Array of signal weight values |
[in] | current_profile | Index of sxrem profile used. |
[in,out] | first_index | Index of the first instance of an intpol signal. |
[in] | use_geo | Chord contains geomtric factor. |
[in] | is_ti | Chord used electron temperature. |
Definition at line 295 of file sxrch_dot.f.
subroutine sxrch_dot::sxrch_dot_read | ( | character (len=path_length), intent(in) | sxrch_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 a soft x-ray diagnostic dot file.
Parses the structure of a dignostic dot file and constructs a sxrem object. Each chord is parsed by sxrch_dot_parse_chord.
[in] | sxrch_file | Name of the sxrch. file. |
[in,out] | signals | Array of pointers to the a signal |
[in,out] | signals_created | Number valid signals in the array, or index of the last signal created. |
[in] | observed | Array of observed values. |
[in] | sigma | Array of observed sigma values |
[in] | weight | Array of signal weight values |
[in,out] | first_index | Index of the first instance of an intpol signal. |
Definition at line 139 of file sxrch_dot.f.