Example #1
0
def syntetic_chords(strahl_result, equilibrim, chord_indices):
    res = {}
    chords = tcv_dmpx.geometry(42314)
    for ci in chord_indices:
        chord = chords[ci]
        time, profile = \
        strahl.diagnostics.line_integrated_measurements(strahl_result,
                equilibrim, chord)
        res[ci] = profile
    return time, res
Example #2
0
def dmpx_from_shot(shot):
    time, data = tcv_dmpx.get_data(shot)
    chords = tcv_dmpx.geometry(shot)
    return DMPX_data(time, data, chords)