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
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
key
description
default
field_type
json_type
stack
stack to which transformed tiles were written
(REQUIRED)
str
refId
unique identifier string used as reference ID
(REQUIRED)
str
missing_ts_zs
Z values for which apply mipmaps failed
[]
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
key
description
default
field_type
json_type
pool_size
no description
1
int
minZ
no description
NA
int
maxZ
no description
NA
int
z
no description
NA
int
zValues
no description
NA
int
input_json
file path of input json file
NA
str
output_json
file path to output json file
NA
str
log_level
set the logging level of the module
ERROR
str
render
parameters to connect to render server
(REQUIRED)
dict
input_stack
no description
(REQUIRED)
str
output_stack
no description
(REQUIRED)
str
close_stack
no description
False
bool
overwrite_zlayer
no description
False
bool
output_stackVersion
no description
NA
dict
transform
no description
NA
dict
refId
Reference ID to use when uploading transform to render database (Not Implemented)
(REQUIRED)
str
labels
labels for the lens correction transform
[‘lens’]
str
maskUrl
path to level 0 maskUrl to apply to stack
None
str
maskUrl_uri
uri for level 0 mask image to apply
None
str
- 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
key
description
default
field_type
json_type
type
Transform type as defined in Render Transform Spec. This module currently expects a ‘leaf’
(REQUIRED)
str
className
mpicbg-compatible className
(REQUIRED)
str
dataString
mpicbg-compatible dataString
(REQUIRED)
str
metaData
in this schema, otherwise will be stripped
NA
?
- opts = <marshmallow.schema.SchemaOpts object>