This class provides a graphical frontend for viewing n-dimensional targets. Since it’s only possible to visualize exact either n mergeDimensions over one basisDimension (2d-graph) or one mergeDimension over two basisDimensions (merge coded als contrast/color) without deforming the values in the figure only at max. two basisDimensions are shown. All other basisDimensions were conentrated. By default all merge-values over that dimensions werde middled.
In this class you have many options to choose which basis to show and in which way to concentrate other basisDimensions. It is also possible to slice a target and to view another basis.
Each parameter and each botton controling the view is described in diaGrabber.plot._preferenceDock.preferenceDock.
Though it’s possible to customize the Gui you can also preconfigure the Gui by setting keyword-arguments when initializing the class.
For a list of all possible keyword-arguments have a look at setArgs()
Optional kwargs (“keyword arguments”) are:
Keyword | Type | Default | Description |
---|---|---|---|
mergeName | string | [{All}] | names of merges to save |
name | string | “” | name-prefix of the image |
type | string | “png” | typ of the image [“png”,”jpg”,”tiff”,”svg”] |
parameters | list | [] | takes all parameters accepted by pyQtGraph.exporters |
Optional kwargs (“keyword arguments”) are:
Keyword | Type | Default | Description |
---|---|---|---|
interactive | bool | False | [True, False] |
show | list | [{All}] | a list of lists containing names of merge-(m) and basisDimensions(b) to show e.g. show = [ (m1,b1,b2), (m2,b2) ] |
fps | float | 20 | frames per seconds |
lps | float | None | readout n lines from source per second (needs limitReadoutRate = True) |
limitReadoutRate | bool | False | Choose whether to limit the readoutrate via arg lps |
enableAutoRange | list | [] | [“x”, “y”] |
colorTheme | string | “default” | [“default”, “bright”] |
windowSize | list | [1000,600] | [size_x, size_y] |
showPreferences | bool | True | [True, False] |
closeWhenFinished | bool | False | [True, False] Choose whether to close the plot-window when fillInteractive() is done |
save | dict | {} | can include all keywords from the method ‘save’ |
The classes in this module were not controlled or called by the user itself. Only diaGrabber.plot.Gui.Gui controll calls it. Nethertheless most methods are described and viewable in the API.
class to handle all concentrated basisDimensions
whith the class plotMergeDims it’s possible to plot merges together over the same basis. in case a display needs other merges with a different base it can be added trough this class.
get a name of all displays having only one basis exclude displays with imageplots to prevent a staple of images
class for the main-Tab
main-class for the whole preference-dock-system
does:
the preference tab that belongs to each Display
in case of an interactive plotted readout of the sources this class provides the parameters to change the plotrate (frames per second) and the readoutrate (lines per second)
save/restore parameters in the preferenceTab
get the name of all other displays than the own one
get the name of all inactive/concentrated basisDimensions