Table Of Contents

Previous topic

Probe

Next topic

Specimen

Region

Conditions defining a region of spectrum.

Classes

class pyhmsa.spec.condition.region.RegionOfInterest(start_channel, end_channel)

Defines a region of a spectrum (or other one-dimensional datum), as may be useful for defining start and end channels used for a region of interest image.

Parameters:
  • start_channel – start channel (required)
  • end_channel – end channel (required)
CLASS = None
TEMPLATE = 'RegionOfInterest'
channels

Channel range

end_channel

End channel

get_channels(instance)
get_end_channel()

Returns the end channel.

get_start_channel()

Returns the start channel.

set_channels(instance, vmin, vmax, unit=None)
start_channel

Start channel