fsleyes.displaycontext.mipopts
This module provides the MIPOpts class, a DisplayOpts
class containing options for rendering maximum intensity projections of
Image overlays. The MIPOpts class corresponds to the
'mip' overlay type.
MIP overlays are rendered via the GLMIP class.
- class fsleyes.displaycontext.mipopts.MIPOpts(*args, **kwargs)[source]
Bases:
fsleyes.displaycontext.colourmapopts.ColourMapOpts,fsleyes.displaycontext.niftiopts.NiftiOptsThe
MIPOptsclass is used for rendering maximum intensity projections of .Image overlays.- window = <MagicMock name='mock.Percentage()' id='139881574389488'>
Window over which the MIP is calculated, as a proportion of the image length. The window is centered at the current display location.
- minimum = <MagicMock name='mock.Boolean()' id='139881574968736'>
Display a minimum intensity projection, rather than maximum.
- absolute = <MagicMock name='mock.Boolean()' id='139881574968736'>
Display an absolute maximum intensity projection. This setting overrides the
minimumsetting.
- interpolation = <MagicMock name='mock.Choice()' id='139881574868272'>
How the value shown at a real world location is derived from the corresponding data value(s).
noneis equivalent to nearest neighbour interpolation.
- __init__(*args, **kwargs)[source]
Create a
MIPOptsobject.All arguments are passed through to the
NiftiOptsinit function.
- __annotations__ = {}
- __module__ = 'fsleyes.displaycontext.mipopts'
- getDataRange()[source]
Overrides
ColourMapOpts.getDataRange(). Returns theImage.dataRangeof the image.