Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

Anchor
_pdsdata.evr.ConfigV2
_pdsdata.evr.ConfigV2

Class _pdsdata.evr.ConfigV2

Python wrapper for pdsdata/evr/ConfigV2 class.


Enum RateCode

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

  • ConfigV2.RateCode.r120Hz
  • ConfigV2.RateCode.r60Hz
  • ConfigV2.RateCode.r30Hz
  • ConfigV2.RateCode.r10Hz
  • ConfigV2.RateCode.r5Hz
  • ConfigV2.RateCode.r1Hz
  • ConfigV2.RateCode.r0_5Hz
  • ConfigV2.RateCode.Single
  • ConfigV2.RateCode.NumberOfRates

Enum BeamCode

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

  • ConfigV2.BeamCode.Off
  • ConfigV2.BeamCode.On

Construction

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


Method beam()

Usage: val = config.beam()

Returns value of enum ConfigV2.BeamCode.


Method rate()

Usage: val = config.rate()

Returns value of enum ConfigV2.RateCode.


Method opcode()

Usage: val = config.opcode()

Returns integer number.


Method npulses()

Usage: val = config.npulses()

Returns integer number.


Method pulse()

Usage: val = config.pulse(index)

Returns object of evr.PulseConfig type.


Method noutputs()

Usage: val = config.noutputs()

Returns integer number.


Method output_map()

Usage: val = config.output_map(index)

Returns object of evr.OutputMap type.


Method size()

Usage: val = config.size()

Returns total size of the object.

...

Panel

Anchor
_pdsdata.evr.OutputMapConfigV3
_pdsdata.evr.OutputMapConfigV3

Class _pdsdata.evr.

OutputMap

ConfigV3

Python wrapper for pdsdata/evr/OutputMap class.

Enum Source

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

  • OutputMap.Source.Pulse
  • OutputMap.Source.DBus
  • OutputMap.Source.Prescaler
  • OutputMap.Source.Force_High
  • OutputMap.Source.Force_Low

Enum Conn

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

  • OutputMap.Conn.FrontPanel
  • OutputMap.Conn.UnivIO

ConfigV3 class.


Construction

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


Method

source

neventcodes()

Usage: val = config.neventcodes()

Returns integer number.


Method eventcode()

Usage: val = mapconfig.sourceeventcode(index)

Returns value object of enum OutputMapevr.Source.

Method source_id

EventCodeV3 type.


Method npulses()

Usage: val = config.npulses()

Returns integer number.


Method pulse()

Usage: val = config.pulse(index)

Returns object of evr.PulseConfigV3 type.


Method noutputs()

Usage: val = config.noutputs()

Returns integer number.


Method output_map()

Usage: val = config.output_map(index)

Returns object of evr.OutputMap type.


Method size()

Usage: val = config.size()

Returns total size of the object.

...

Panel

Anchor
_pdsdata.evr.DataV3
_pdsdata.evr.DataV3

Class _pdsdata.evr.DataV3

Python wrapper for pdsdata/evr/DataV3 class.


Construction

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


Method numFifoEvents()

Usage: val = config.numFifoEvents()

Returns integer number.


Method fifoEvent()

Usage: val = config.fifoEvent(index)

Returns object of evr.DataV3_FIFOEvent type.

...

Panel

Anchor
_pdsdata.evr.DataV3_FIFOEvent
_pdsdata.evr.DataV3_FIFOEvent

Class _pdsdata.evr.DataV3_FIFOEvent

Python wrapper for pdsdata/evr/DataV3::FIFOEvent class.


Construction

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


Property TimestampHigh

Usage: val = config.TimestampHigh

Returns integer number.


Property TimestampLow

Usage: val = config.TimestampLow

Returns integer number.


Property EventCode

Usage: val = config.EventCode

Returns integer number.

...

Panel

Anchor
_pdsdata.evr.OutputMap
_pdsdata.evr.OutputMap

Class _pdsdata.evr.OutputMap

Python wrapper for pdsdata/evr/OutputMap class.


Enum Source

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

  • OutputMap.Source.Pulse
  • OutputMap.Source.DBus
  • OutputMap.Source.Prescaler
  • OutputMap.Source.Force_High
  • OutputMap.Source.Force_Low

Enum Conn

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

  • OutputMap.Conn.FrontPanel
  • OutputMap.Conn.UnivIO

Construction

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


Method source()

Usage: val = map.source()

Returns value of enum OutputMap.Source.


Method source_id()

Usage: val = map.source_id()

Returns integer number.


Method conn()

Usage: val = map.conn()

Returns value of enum OutputMap.Conn.


Method conn_id()

Usage: val = map.conn_id()

Returns integer number.


Method map()

Usage: val = map.map()

Returns encoded source value as integer number.

...

Class _pdsdata.evr.PulseConfig

Python wrapper for pdsdata/evr/PulseConfig class.

Construction

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

Method pulse

()

Usage: val = config.pulsemap_reset_enable()

Returns internal pulse generation channel as integer numberBoolean value.


Method map_trigger_enable()

Usage: val = config.map_trigger_enable()

Returns integer numberBoolean value.


Method

set

prescale()

Usage: val = config.setprescale()

Returns integer number.


Method

clear

delay()

Usage: val = config.cleardelay()

Returns integer number.


Method

polarity

width()

Usage: val = config.polaritywidth()

Returns Boolean value.

Method map_set_enable()

Usage: val = config.map_set_enable()

Returns Boolean value.

Method map_reset_enable

integer number.

Panel

Anchor
_pdsdata.evr.PulseConfig
_pdsdata.evr.PulseConfig

Class _pdsdata.evr.PulseConfig

Python wrapper for pdsdata/evr/PulseConfig class.


Construction

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


Method pulse()

Usage: val = config.pulse()

Returns internal pulse generation channel as integer number.


Method trigger()

Usage: val = mapconfig.source_idtrigger()

Returns integer number.


Method

conn

set()

Usage: val = mapconfig.connset()

Returns value of enum OutputMap.Conninteger number.


Method

conn_id

clear()

Usage: val = mapconfig.conn_idclear()

Returns integer number.


Method

map

polarity()

Usage: val = mapconfig.mappolarity()

Returns encoded source Boolean value as integer number.

Panel

Method map_set_enable()

Usage: val = config.map_set_enable()

Returns Boolean value.


Method map_reset_enable

Anchor
_pdsdata.evr.PulseConfig_pdsdata.evr.PulseConfig

...

Panel

Anchor
_pdsdata.evr.PulseConfigV3
_pdsdata.evr.PulseConfigV3

Class _pdsdata.evr.PulseConfigV3

Python wrapper for pdsdata/evr/PulseConfigV3 class.


Construction

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


Method pulseId()

Usage: val = config.map_reset_enablepulseId()

Returns Boolean valueinteger number.


Method

map_trigger_enable

polarity()

Usage: val = config.map_trigger_enablepolarity()

Returns Boolean value.


Method prescale()

Usage: val = config.prescale()

Returns integer number.


Method delay()

Usage: val = config.delay()

Returns integer number.


Method width()

Usage: val = config.width()

Returns integer number.

...

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.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.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
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.