grale.editor.noninteractive
This module contains functionality to script some of the operations you’d normally perform manually inside the GRALE Editor. You’ll need to have a working graphical environment in which it would be possible to just start the GRALE Editor, otherwise this will not work.
SceneViewDesciptionException
- exception grale.editor.noninteractive.SceneViewDesciptionException
TODO
SceneViewDesciption
- class grale.editor.noninteractive.SceneViewDesciption(json_obj_fn=None)
TODO
MultipleLayerScene
- class grale.editor.noninteractive.MultipleLayerScene(sceneViewDesc=None)
Functions
- grale.editor.noninteractive.getSceneRegionNumPyArray(sceneViewDesc, bottomLeft, topRight, widthPixels=None, heightPixels=None, grayScale=False)
- grale.editor.noninteractive.getPointsLayersFromImagesData(imgDat, which, layerTitleFormat='Points from images data')
- grale.editor.noninteractive.getImagesDataFromVisibleLayers(sceneViewDesc, splitLayers=True, exportGroups=True, exportTimeDelays=True)
- grale.editor.noninteractive.getLayersFromBackProjectRetrace(sceneViewDesc, ip, splitLayers=True, extra=4.84813681109536e-07, numPix=1024, numBPPix=1024, numRetracePix=1024, numResample=1, relensSeparately=True, overWriteFiles=False, bpFileNameTemplate='img_{srcidx}_backproj.png', bpLayerNameTemplate='Source shape for image {srcidx}: {fn}', relensFileNameTemplate='img_{srcidx}_to_{tgtidx}_relensed.png', relensLayerNameTemplate='Relensed source from image {srcidx} to {tgtidx}: {fn}', newImageDir=None)
- grale.editor.noninteractive.getSourceShapeFromSourceRGBLayer(layer, channel='gray')