tcv.diag.xtomo module¶
XTOMO diagnostics data
Written by Nicola Vianello
-
class
tcv.diag.xtomo.XtomoCamera[source]¶ Bases:
objectLoad single XtomoCamera with appropriate LoS chosen eventually diagnostic analysis. All the methods are defined as staticmethods so they can be called without instances
-
static
channels(shot, camera, los=None)[source]¶ Provide the names of the channel chosen in the init action
Parameters: - shot (int or MDSConnection) – Shot number or connection instance
- camera (int) – Number of the XTOMO camera
- los (int or sequence of ints) – Optional argument with lines of sight (LoS) of the chosen camera. If None, it loads all the 20 channels
Returns: Return type: Array of strings with the channel names
-
static
fromshot(shot, camera, los=None)[source]¶ Return the calibrated signal of the XtomoCamera LoS chosen.
Parameters: - shot (int or MDSConnection) – Shot number or connection instance
- camera (int) – Number of the XTOMO camera
- los (int or sequence of ints) – Optional argument with lines of sight (LoS) of the chosen camera. If None, it loads all the 20 channels
Returns: Return type: Calibrated signals XTOMO signals.
Examples
>>> import tcv >>> cam = tcv.diag.XtomoCamera.fromshot(50766, camera=1, los=[4, 5])
-
static