neuralib.imaging.scanbox.view.ScanBoxViewOptions

class neuralib.imaging.scanbox.view.ScanBoxViewOptions[source]

Bases: AbstractParser

__init__()

Methods

__init__()

main([args, parse_only, system_exit])

parsing the commandline input args and call run().

new_parser(**kwargs)

create an ArgumentParser.

run()

called after main()

Attributes

DESCRIPTION

parser description.

EPILOG

parser epilog.

USAGE

parser usage.

channel

which pmt channel

directory

directory containing .sbx/.mat scanbox output

frames

indices of image sequences, if None, then all frames

plane

which optic plane

show

play the selected imaging sequences

to_tiff

save sequence as tiff output

verbose

show meta verbose

DESCRIPTION: str = 'ScanBox data view & save options'

parser description. Could be override as a method if its content is dynamic-generated.

directory: Path

directory containing .sbx/.mat scanbox output

frames: tuple[int, int] | None

indices of image sequences, if None, then all frames

plane: int

which optic plane

channel: int

which pmt channel

verbose: bool

show meta verbose

show: bool

play the selected imaging sequences

to_tiff: Path | None

save sequence as tiff output

run()[source]

called after main()