Versions Compared

Key

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

...

Panel

Anchor
_pdsdata.camera.FrameV1
_pdsdata.camera.FrameV1

Class FrameV1

Python wrapper for pdsdata/camera/FrameV1 class.


Construction

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


Method width()

Usage: val = frame.width()

Returns number of pixels in a row.


Method height()

Usage: val = frame.height()

Returns number of pixels in a column.


Method depth()

Usage: val = frame.depth()

Returns number of bits per pixel.


Method depth_bytes()

Usage: val = frame.depth_bytes()

Returns number of bytes per pixel.


Method offset()

Usage: val = frame.offset()

Returns fixed offset/pedestal value of pixel data.


Method data_size()

Usage: val = frame.data_size()

Returns fixed offset/pedestal value of pixel data.


Method data()

Wiki Markup
Usage: {{val = frame.data(\[_writable_=False\])}}

Returns pixel data as NumPy array, if optional argument is True then array is writable.

Arguments:

  • writable - if True then returned data can be updated in-place

Method pixel()

Usage: val = frame.pixel(x, y)

Returns individual pixel datum given coordinates (x, y).

...

Panel

Anchor
_pdsdata.camera.TwoDGaussianV1
_pdsdata.camera.TwoDGaussianV1

Class TwoDGaussianV1

Python wrapper for pdsdata/camera/TwoDGaussianV1 class.


Construction

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


Method integral()

Usage: val = gauss.integral()

Returns integral statistics as integer number.


Method xmean()

Usage: val = gauss.xmean()

Returns mean X value as floating number.


Method ymean()

Usage: val = gauss.ymean()

Returns mean Y value as floating number.


Method major_axis_width()

Usage: val = gauss.major_axis_width()

Returns width of major axis as floating number.


Method minor_axis_width()

Usage: val = gauss.minor_axis_width()

Returns width of minor axis as floating number.


Method major_axis_tilt()

Usage: val = gauss.major_axis_tilt()

Returns tilt of major axis as floating number.