V3FIT
Functions/Subroutines
ece_dot Module Reference

Module for opening and reading a 'ece.' file. The file format for these files are documented in ECE Diagnostic Dot File. More...

Functions/Subroutines

subroutine ece_dot_read (ece_file, signals, signals_created, observed, sigma, weight, first_index)
 Read an ECE diagnostic dot file. More...
 
subroutine ece_dot_parse_chord (ece_dot_file_ref, coordinate_type, signals, signals_created, observed, sigma, weight, first_index)
 Parse ECE diagnostic chord. More...
 

Detailed Description

Module for opening and reading a 'ece.' file. The file format for these files are documented in ECE Diagnostic Dot File.

Function/Subroutine Documentation

◆ ece_dot_parse_chord()

subroutine ece_dot::ece_dot_parse_chord ( type (signal_dot_file), intent(inout)  ece_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(inout)  first_index 
)

Parse ECE diagnostic chord.

Parses a single chord. Chords are laid out as,

  • chord_name
  • Resonance as a single real.
  • Starting point as three reals.
  • Ending point as three reals.
Parameters
[in]ece_dot_file_refReference to the ece. 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 signal.

Definition at line 207 of file ece_dot.f.

◆ ece_dot_read()

subroutine ece_dot::ece_dot_read ( character (len=path_length), intent(in)  ece_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 ECE diagnostic dot file.

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

Parameters
[in]ece_fileName of the ece. 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.
Todo:
FIXME: Remove the _new when removing the old code.

Definition at line 106 of file ece_dot.f.