asap.lens_correction package

Submodules

asap.lens_correction.apply_lens_correction module

class asap.lens_correction.apply_lens_correction.ApplyLensCorrection(schema_type=None, *args, **kwargs)[source]

Bases: StackTransitionModule

Note

This class takes a ArgSchema as an input to parse inputs , with a default schema of type ApplyLensCorrectionParameters

default_output_schema

alias of ApplyLensCorrectionOutput

default_schema

alias of ApplyLensCorrectionParameters

run()[source]

asap.lens_correction.lens_correction module

asap.lens_correction.schemas module

class asap.lens_correction.schemas.ApplyLensCorrectionOutput(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: DefaultSchema

ApplyLensCorrectionOutput

key

description

default

field_type

json_type

stack

stack to which transformed tiles were written

(REQUIRED)

String

str

refId

unique identifier string used as reference ID

(REQUIRED)

String

str

missing_ts_zs

Z values for which apply mipmaps failed

[]

List

int

opts = <marshmallow.schema.SchemaOpts object>
class asap.lens_correction.schemas.ApplyLensCorrectionParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: StackTransitionParameters

This schema is designed to be a schema_type for an ArgSchemaParser object

ApplyLensCorrectionParameters

key

description

default

field_type

json_type

pool_size

no description

1

Integer

int

minZ

no description

NA

Integer

int

maxZ

no description

NA

Integer

int

z

no description

NA

Integer

int

zValues

no description

NA

List

int

input_json

file path of input json file

NA

InputFile

str

output_json

file path to output json file

NA

OutputFile

str

log_level

set the logging level of the module

ERROR

LogLevel

str

render

parameters to connect to render server

(REQUIRED)

RenderClientParameters

dict

input_stack

no description

(REQUIRED)

String

str

output_stack

no description

(REQUIRED)

String

str

close_stack

no description

False

Boolean

bool

overwrite_zlayer

no description

False

Boolean

bool

output_stackVersion

no description

NA

RenderStackVersion

dict

transform

no description

NA

TransformParameters

dict

refId

Reference ID to use when uploading transform to render database (Not Implemented)

(REQUIRED)

String

str

labels

labels for the lens correction transform

[‘lens’]

List

str

maskUrl

path to level 0 maskUrl to apply to stack

None

InputFile

str

maskUrl_uri

uri for level 0 mask image to apply

None

String

str

maskUrl_to_uri(data)[source]
opts = <marshmallow.schema.SchemaOpts object>
class asap.lens_correction.schemas.TransformParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]

Bases: DefaultSchema

TransformParameters

key

description

default

field_type

json_type

type

Transform type as defined in Render Transform Spec. This module currently expects a ‘leaf’

(REQUIRED)

String

str

className

mpicbg-compatible className

(REQUIRED)

String

str

dataString

mpicbg-compatible dataString

(REQUIRED)

String

str

metaData

in this schema, otherwise will be stripped

NA

Dict

?

opts = <marshmallow.schema.SchemaOpts object>

Module contents