display Namespace Reference


Classes

class  MainFrame

Functions

def main

Variables

tuple parser = argparse.ArgumentParser()
tuple args = parser.parse_args()
tuple ds = psana.DataSource('exp='+args.exp+':run='+str(args.run)+':idx')
tuple det = psana.Detector(args.det, ds.env())
tuple run = ds.runs()
tuple times = run.times()
tuple evt = run.event(times[args.evt])
tuple nda = det.calib(evt)
tuple data = det.image(evt,nda)
tuple pixelIndex = np.arange(1,nda.size+1)
tuple minVal = np.min(pixelIndex)
tuple maxVal = np.max(pixelIndex)
tuple pixelIndex = pixelIndex.reshape(nda.shape)
tuple pixelIndex = det.image(evt,pixelIndex)


Function Documentation

def display::main (  ) 

Definition at line 69 of file display.py.


Variable Documentation

tuple display::parser = argparse.ArgumentParser() [static]

Definition at line 10 of file display.py.

tuple display::args = parser.parse_args() [static]

Definition at line 16 of file display.py.

tuple display::ds = psana.DataSource('exp='+args.exp+':run='+str(args.run)+':idx') [static]

Definition at line 23 of file display.py.

tuple display::det = psana.Detector(args.det, ds.env()) [static]

Definition at line 24 of file display.py.

tuple display::run = ds.runs() [static]

Definition at line 25 of file display.py.

tuple display::times = run.times() [static]

Definition at line 26 of file display.py.

tuple display::evt = run.event(times[args.evt]) [static]

Definition at line 27 of file display.py.

tuple display::nda = det.calib(evt) [static]

Definition at line 29 of file display.py.

tuple display::data = det.image(evt,nda) [static]

Definition at line 30 of file display.py.

tuple display::pixelIndex = np.arange(1,nda.size+1) [static]

Definition at line 32 of file display.py.

tuple display::minVal = np.min(pixelIndex) [static]

Definition at line 33 of file display.py.

tuple display::maxVal = np.max(pixelIndex) [static]

Definition at line 34 of file display.py.

Referenced by Eigen::SVD< MatrixType >::solve().

tuple display::pixelIndex = pixelIndex.reshape(nda.shape) [static]

Definition at line 37 of file display.py.

tuple display::pixelIndex = det.image(evt,pixelIndex) [static]

Definition at line 39 of file display.py.


Generated on 19 Dec 2016 for PSDMSoftware by  doxygen 1.4.7