V3FIT
|
Module for opening and reading a 'thscte.' file. The file format for these files are documented in Thomson Scattering Diagnostic Dot File. More...
Functions/Subroutines | |
subroutine | thscte_dot_read (thscte_file, signals, signals_created, observed, sigma, weight, first_index) |
Read an thomson scattering diagnostic dot file. More... | |
subroutine | thscte_dot_parse_chord (thscte_dot_file_ref, coordinate_type, point_type, signals, signals_created, observed, sigma, weight, first_index) |
Parse thomson scattering diagnostic chord. More... | |
Module for opening and reading a 'thscte.' file. The file format for these files are documented in Thomson Scattering Diagnostic Dot File.
subroutine thscte_dot::thscte_dot_parse_chord | ( | type(signal_dot_file), intent(inout) | thscte_dot_file_ref, |
character (len=*) | coordinate_type, | ||
character (len=1) | point_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 thomson scattering diagnostic chord.
Parses a signle chord. Chords are laid out as,
[in] | thscte_dot_file_ref | Reference of the thscte file. |
[in] | coordinate_type | Specifies the cartesian or cylindrical coordinate type. |
[in] | point_type | Specifies a 't'emperature, 'd'ensity or 'p'ressure point. |
[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. |
[in] | scale_index | Index of the signal scale factor. |
Definition at line 246 of file thscte_dot.f.
subroutine thscte_dot::thscte_dot_read | ( | character (len=path_length), intent(in) | thscte_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 thomson scattering diagnostic dot file.
Parses the structure of a dignostic dot file and constructs a thomson object. Each chord is parsed by thscte_dot_parse_chord.
[in] | thscte_file | Name of the thscte. 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 103 of file thscte_dot.f.