Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adding pdsdata/lusi classes

...

Panel

Anchor
_pdsdata.ipimb.DataV1
_pdsdata.ipimb.DataV1

Class _pdsdata.ipimb.DataV1

Python wrapper for pdsdata/ipimb/DataV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method triggerCounter()

Usage: val = config.triggerCounter()

Returns integer number.


Method config0()

Usage: val = config.config0()

Returns integer number.


Method config1()

Usage: val = config.config1()

Returns integer number.


Method config2()

Usage: val = config.config2()

Returns integer number.


Method channel0()

Usage: val = config.channel0()

Returns integer number.


Method channel1()

Usage: val = config.channel1()

Returns integer number.


Method channel2()

Usage: val = config.channel2()

Returns integer number.


Method channel3()

Usage: val = config.channel3()

Returns integer number.


Method channel0Volts()

Usage: val = config.channel0Volts()

Returns floating number.


Method channel1Volts()

Usage: val = config.channel1Volts()

Returns floating number.


Method channel2Volts()

Usage: val = config.channel2Volts()

Returns floating number.


Method channel3Volts()

Usage: val = config.channel3Volts()

Returns floating number.


Method checksum()

Usage: val = config.checksum()

Returns integer number.

...

Anchor
_pdsdata.lusi
_pdsdata.lusi

Module _pdsdata.lusi

This module contains classes corresponding to those in C++ pdsdata/lusi package.

Panel

Anchor
_pdsdata.lusi.DiodeFexConfigV1
_pdsdata.lusi.DiodeFexConfigV1

Class _pdsdata.lusi.DiodeFexConfigV1

Python wrapper for pdsdata/lusi/DiodeFexConfigV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Property base

Usage: val = config.base

Returns list of floating numbers.


Property scale

Usage: val = config.scale

Returns list of floating numbers.

...

Panel

Anchor
_pdsdata.lusi.DiodeFexV1
_pdsdata.lusi.DiodeFexV1

Class _pdsdata.lusi.DiodeFexV1

Python wrapper for pdsdata/lusi/DiodeFexV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Property value

Usage: val = obj.value

Returns floating number.

...

Panel

Anchor
_pdsdata.lusi.IpmFexConfigV1
_pdsdata.lusi.IpmFexConfigV1

Class _pdsdata.lusi.IpmFexConfigV1

Python wrapper for pdsdata/lusi/IpmFexConfigV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Property diode

Usage: val = obj.diode

Returns list of _pdsdata.lusi.DiodeFexConfigV1 objects.


Property xscale

Usage: val = obj.xscale

Returns floating number.


Property yscale

Usage: val = obj.yscale

Returns floating number.

...

Panel

Anchor
_pdsdata.lusi.IpmFexV1
_pdsdata.lusi.IpmFexV1

Class _pdsdata.lusi.IpmFexV1

Python wrapper for pdsdata/lusi/IpmFexV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Property channel

Usage: val = obj.channel

Returns list of floating numbers.


Property sum

Usage: val = obj.sum

Returns floating number.


Property xpos

Usage: val = obj.xpos

Returns floating number.


Property ypos

Usage: val = obj.ypos

Returns floating number.

...

Panel

Anchor
_pdsdata.lusi.PimImageConfigV1
_pdsdata.lusi.PimImageConfigV1

Class _pdsdata.lusi.PimImageConfigV1

Python wrapper for pdsdata/lusi/PimImageConfigV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Property xscale

Usage: val = obj.xscale

Returns floating number.


Property yscale

Usage: val = obj.yscale

Returns floating number.

...

Anchor
_pdsdata.opal1k
_pdsdata.opal1k

Module _pdsdata.opal1k

...

Panel

Anchor
_pdsdata.opal1k.ConfigV1
_pdsdata.opal1k.ConfigV1

Class _pdsdata.opal1k.ConfigV1

Python wrapper for pdsdata/opal1k/ConfigV1 class.


Constants

  • LUT_Size
  • Row_Pixels
  • Column_Pixels

Enum Depth

This enum is an embedded type of ConfigV1 class. Following enum members are defined currently:

  • ConfigV1.Depth.Eight_bit
  • ConfigV1.Depth.Ten_bit
  • ConfigV1.Depth.Twelve_bit

Enum Binning

This enum is an embedded type of ConfigV1 class. Following enum members are defined currently:

  • ConfigV1.Binning.x1
  • ConfigV1.Binning.x2
  • ConfigV1.Binning.x4
  • ConfigV1.Binning.x8

Enum Mirroring

This enum is an embedded type of ConfigV1 class. Following enum members are defined currently:

  • ConfigV1.Mirroring.None
  • ConfigV1.Mirroring.HFlip
  • ConfigV1.Mirroring.VFlip
  • ConfigV1.Mirroring.HVFlip

Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method black_level()

Usage: val = config.black_level()

Returns offset/pedestal setting for camera (before gain) as integer number.


Method gain_percent()

Usage: val = config.gain_percent()

Wiki Markup
Returns camera gain setting in percentile (\[100-3200\] = \[1x-32x\]) as integer number.


Method output_offset()

Usage: val = config.output_offset()

Returns offset/pedestal value in pixel counts as integer number.


Method output_resolution()

Usage: val = config.output_resolution()

Returns bit-depth of pixel counts as enum ConfigV1.Depth.


Method output_resolution_bits()

Usage: val = config.output_resolution_bits()

Returns bit-depth of pixel counts (in actual bits).


Method vertical_binning()

Usage: val = config.vertical_binning()

Returns vertical re-binning of output (consecutive rows summed) as enum ConfigV1.Binning.


Method output_mirroring()

Usage: val = config.output_mirroring()

Returns geometric transformation of the image as enum ConfigV1.Mirroring.


Method vertical_remapping()

Usage: val = config.vertical_remapping()

Returns Boolean, true: remap the pixels to appear in natural geometric order (left->right, top->bottom), false: pixels appear on dual taps from different rows (left->right, top->bottom) alternated with (left->right, bottom->top) pixel by pixel.


Method defect_pixel_correction_enabled()

Usage: val = config.defect_pixel_correction_enabled()

Returns Boolean value.


Method output_lookup_table_enabled()

Usage: val = config.output_lookup_table_enabled()

Returns Boolean value.


Method output_lookup_table()

Usage: val = config.output_lookup_table()

Returns output lookup table as NumPy array, elements of array are unsigned numbers.


Method number_of_defect_pixels()

Usage: val = config.number_of_defect_pixels()

Returns defective pixel count.


Method defect_pixel_coordinates()

Usage: val = config.defect_pixel_coordinates()

Returns list of defective pixel coordinates, elements of the list have type camera.FrameCoord.


Method size()

Usage: val = config.size()

Returns total size of this structure.

...

Panel

Anchor
_pdsdata.pnccd.ConfigV1
_pdsdata.pnccd.ConfigV1

Class _pdsdata.pnccd.ConfigV1

Python wrapper for pdsdata/pnCCD/ConfigV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method numLinks()

Usage: val = config.numLinks()

Returns number of links.


Method payloadSizePerLink()

Usage: val = config.payloadSizePerLink()

Returns data size per link.

...

Panel

Anchor
_pdsdata.pnccd.ConfigV2
_pdsdata.pnccd.ConfigV2

Class _pdsdata.pnccd.ConfigV2

Python wrapper for pdsdata/pnCCD/ConfigV2 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method numLinks()

Usage: val = config.numLinks()

Returns number of links.


Method payloadSizePerLink()

Usage: val = config.payloadSizePerLink()

Returns data size per link.


Method numChannels()

Usage: val = config.numChannels()

Returns number of channels.


Method numRows()

Usage: val = config.numRows()

Returns number of rows.


Method numSubmoduleChannels()

Usage: val = config.numSubmoduleChannels()

Returns integer number.


Method numSubmoduleRows()

Usage: val = config.numSubmoduleRows()

Returns integer number.


Method numSubmodules()

Usage: val = config.numSubmodules()

Returns integer number.


Method camexMagic()

Usage: val = config.camexMagic()

Returns integer number.


Method info()

Usage: val = config.info()

Returns string.


Method timingFName()

Usage: val = config.timingFName()

Returns string.


Method size()

Usage: val = config.size()

Returns size of the object.

...

Panel

Anchor
_pdsdata.pnccd.FrameV1
_pdsdata.pnccd.FrameV1

Class _pdsdata.pnccd.FrameV1

Python wrapper for pdsdata/pnCCD/FrameV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method specialWord()

Usage: val = frame.specialWord()

Returns integer number.


Method frameNumber()

Usage: val = frame.frameNumber()

Returns integer number.


Method timeStampHi()

Usage: val = frame.timeStampHi()

Returns integer number.


Method timeStampLo()

Usage: val = frame.timeStampLo()

Returns integer number.


Method next()

Usage: val = frame.next(config)

Returns next frame object or None.

Arguments:


Method data()

Usage: val = frame.data(config)

Returns frame data as NumPy 2-dimensional array of integers of size 512x512.

Arguments:


Method sizeofData()

Usage: val = frame.sizeofData(config)

Returns integer number.

Arguments:

...

Panel

Anchor
_pdsdata.princeton.ConfigV1
_pdsdata.princeton.ConfigV1

Class _pdsdata.princeton.ConfigV1

Python wrapper for pdsdata/princeton/ConfigV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method width()

Usage: val = config.width()

Returns integer number.


Method height()

Usage: val = config.height()

Returns integer number.


Method orgX()

Usage: val = config.orgX()

Returns integer number.


Method orgY()

Usage: val = config.orgY()

Returns integer number.


Method binX()

Usage: val = config.binX()

Returns integer number.


Method binY()

Usage: val = config.binY()

Returns integer number.


Method exposureTime()

Usage: val = config.exposureTime()

Returns floating number.


Method coolingTemp()

Usage: val = config.coolingTemp()

Returns floating number.


Method readoutSpeedIndex()

Usage: val = config.readoutSpeedIndex()

Returns integer number.


Method readoutEventCode()

Usage: val = config.readoutEventCode()

Returns integer number.


Method delayMode()

Usage: val = config.delayMode()

Returns integer number.


Method size()

Usage: val = config.size()

Returns integer number.


Method frameSize()

Usage: val = config.frameSize()

Returns calculated frame size based on the current ROI and binning settings.

...

Panel

Anchor
_pdsdata.princeton.FrameV1
_pdsdata.princeton.FrameV1

Class _pdsdata.princeton.FrameV1

Python wrapper for pdsdata/princeton/FrameV1 class.


Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method shotIdStart()

Usage: val = config.shotIdStart()

Returns integer number.


Method readoutTime()

Usage: val = config.readoutTime()

Returns floating number.


Method data()

Usage: val = config.data(config)

Returns frame data as NumPy 2-dimensional array of integers, size is determined by the configuration object.

Arguments:

...

Panel

Anchor
_pdsdata.pulnix.TM6740ConfigV1
_pdsdata.pulnix.TM6740ConfigV1

Class _pdsdata.pulnix.TM6740ConfigV1

Python wrapper for pdsdata/pulnix/TM6740ConfigV1 class.


Constants

  • Row_Pixels
  • Column_Pixels

Enum Depth

This enum is an embedded type of TM6740ConfigV1 class. Following enum members are defined currently:

  • TM6740ConfigV1.Depth.Eight_bit
  • TM6740ConfigV1.Depth.Ten_bit

Enum Binning

This enum is an embedded type of TM6740ConfigV1 class. Following enum members are defined currently:

  • TM6740ConfigV1.Binning.x1
  • TM6740ConfigV1.Binning.x2
  • TM6740ConfigV1.Binning.x4

Enum LookupTable

This enum is an embedded type of TM6740ConfigV1 class. Following enum members are defined currently:

  • TM6740ConfigV1.LookupTable.Gamma
  • TM6740ConfigV1.LookupTable.Linear

Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method vref()

Usage: val = config.vref()

Returns integer number.


Method gain_a()

Usage: val = config.gain_a()

Returns integer number.


Method gain_b()

Usage: val = config.gain_b()

Returns integer number.


Method gain_balance()

Usage: val = config.gain_balance()

Returns Boolean value.


Method shutter_width()

Usage: val = config.shutter_width()

Returns integer number.


Method output_resolution()

Usage: val = config.output_resolution()

Returns bit-depth of pixel counts as enum TM6740ConfigV1.Depth.


Method output_resolution_bits()

Usage: val = config.output_resolution_bits()

Returns bit-depth of pixel counts (in actual bits).


Method horizontal_binning()

Usage: val = config.horizontal_binning()

Returns horizontal re-binning of output (consecutive columns summed) as enum TM6740ConfigV1.Binning.


Method vertical_binning()

Usage: val = config.vertical_binning()

Returns vertical re-binning of output (consecutive rows summed) as enum TM6740ConfigV1.Binning.


Method lookuptable_mode()

Usage: val = config.lookuptable_mode()

Returns output lookup table corrections as enum TM6740ConfigV1.LookupTable.

...

Panel

Anchor
_pdsdata.pulnix.TM6740ConfigV2
_pdsdata.pulnix.TM6740ConfigV2

Class _pdsdata.pulnix.TM6740ConfigV2

Python wrapper for pdsdata/pulnix/TM6740ConfigV2 class.


Constants

  • Row_Pixels
  • Column_Pixels

Enum Depth

This enum is an embedded type of TM6740ConfigV2 class. Following enum members are defined currently:

  • TM6740ConfigV2.Depth.Eight_bit
  • TM6740ConfigV2.Depth.Ten_bit

Enum Binning

This enum is an embedded type of TM6740ConfigV2 class. Following enum members are defined currently:

  • TM6740ConfigV2.Binning.x1
  • TM6740ConfigV2.Binning.x2
  • TM6740ConfigV2.Binning.x4

Enum LookupTable

This enum is an embedded type of TM6740ConfigV2 class. Following enum members are defined currently:

  • TM6740ConfigV2.LookupTable.Gamma
  • TM6740ConfigV2.LookupTable.Linear

Construction

This class cannot be instantiated directly, methods of other classes return instances of this type.


Method vref_a()

Usage: val = config.vref_a()

Returns integer number.


Method vref_b()

Usage: val = config.vref_b()

Returns integer number.


Method gain_a()

Usage: val = config.gain_a()

Returns integer number.


Method gain_b()

Usage: val = config.gain_b()

Returns integer number.


Method gain_balance()

Usage: val = config.gain_balance()

Returns Boolean value.


Method output_resolution()

Usage: val = config.output_resolution()

Returns bit-depth of pixel counts as enum TM6740ConfigV2.Depth.


Method output_resolution_bits()

Usage: val = config.output_resolution_bits()

Returns bit-depth of pixel counts (in actual bits).


Method horizontal_binning()

Usage: val = config.horizontal_binning()

Returns horizontal re-binning of output (consecutive columns summed) as enum TM6740ConfigV2.Binning.


Method vertical_binning()

Usage: val = config.vertical_binning()

Returns vertical re-binning of output (consecutive rows summed) as enum TM6740ConfigV2.Binning.


Method lookuptable_mode()

Usage: val = config.lookuptable_mode()

Returns output lookup table corrections as enum TM6740ConfigV2.LookupTable.

...

Panel

Anchor
pypdsdata.acqiris.DataDescV1
pypdsdata.acqiris.DataDescV1

Class pypdsdata.acqiris.DataDescV1

This class overrides several methods in the corresponding _pdsdata.acqiris.DataDescV1 class to simplify user API.


Construction

Usage: dd = DataDescV1(orig, hcfg, vcfg)

Arguments:


Method nbrSamplesInSeg()

Usage: nsampl = dd.nbrSamplesInSeg()

Returns integer number.


Method nbrSegments()

Usage: nseg = dd.nbrSegments()

Returns integer number.


Method timestamp()

Usage: ts = dd.timestamp(segment)

Returns object of acqiris.TimestampV1 type.

Arguments:

  • segment - segment number

Method waveform()

Usage: wf = dd.waveform()

Returns waveform array of numpy.ndarray type.


Method timestamps()

Usage: ts = dd.timestamps()

Returns NumPy array of timestamps (floating numbers). First element of array is always 0, other elements are equidistant with the distance and number of intervals determined by acqiris.HorizV1 object.

...

Panel

Anchor
pypdsdata.pnccd.FrameV1
pypdsdata.pnccd.FrameV1

Class pypdsdata.pnccd.FrameV1

This class overrides several methods in the corresponding _pdsdata.pnccd.FrameV1 class to simplify user API. In particular it merges four images from PnCCD into one larger image.


Construction

Usage: frame = FrameV1(frames, config)

Arguments:


Method specialWord()

Usage: val = frame.specialWord()

Returns integer number.


Method frameNumber()

Usage: val = frame.frameNumber()

Returns integer number.


Method timeStampHi()

Usage: val = frame.timeStampHi()

Returns integer number.


Method timeStampLo()

Usage: val = frame.timeStampLo()

Returns integer number.


Method data()

Usage: val = frame.data()

Returns frame data as NumPy 2-dimensional array of integers of size 1024x1024.


Method sizeofData()

Usage: val = frame.sizeofData()

Returns integer number.

...

Panel

Anchor
pypdsdata.princeton.FrameV1
pypdsdata.princeton.FrameV1

Class pypdsdata.princeton.FrameV1

This class overrides several methods in the corresponding _pdsdata.princeton.FrameV1 class to simplify user API.


Construction

Usage: frame = FrameV1(frames, config)

Arguments:


Method shotIdStart()

Usage: val = frame.shotIdStart()

Returns integer number.


Method readoutTime()

Usage: val = frame.readoutTime()

Returns floating number.


Method data()

Usage: val = frame.data()

Returns frame data as NumPy 2-dimensional array of integers.