Available commands

This is an autogenerated list of commands available for BMO. They can be called from STUI as bmo <command> <options>. Under the hood, BMO uses click, so you’ll notice that the command structure shares multiple similarities with a command line interpreter (CLI).

bmo

bmo [OPTIONS] COMMAND [ARGS]...

camera

Handles the cameras.

bmo camera [OPTIONS] COMMAND [ARGS]...

expose

Exposes the cameras, showing the result in DS9.

bmo camera expose [OPTIONS]

Options

--camera_type <camera_type>

whether to expose all connected cameras (default) or only on- or off-axis. [default: all]

--background, --no-background

if True (default), substract a median background from the image. [default: True]

-o, --one

if set, exposes once with each camera and stops. [default: False]

exptime

Sets the exposure time.

bmo camera exptime [OPTIONS] [EXPTIME]

Options

--camera_type <camera_type>

whether the exposure time should be set for all cameras (default) or only on- or off-axis. [default: all]

Arguments

EXPTIME

Optional argument

list

Lists available and connected cameras.

bmo camera list [OPTIONS]

Options

--camera_type <camera_type>

whether to show all cameras (default) or only on- or off-axis ones. [default: all]

reconnect

Forces cameras to reconnect.

bmo camera reconnect [OPTIONS]

stop

Stops all current exposures.

bmo camera stop [OPTIONS]

centre_up

Centres the field.

bmo centre_up [OPTIONS]

Options

-t, --translate

Only applies translation.

-d, --dryrun

Calculates offsets but does not apply them.

ds9

Handles the DS9 communication

bmo ds9 [OPTIONS] COMMAND [ARGS]...

clear

Deletes all DS9 frames. Alias for reset.

bmo ds9 clear [OPTIONS]

connect

Connects a DS9 server.

bmo ds9 connect [OPTIONS]

Options

--address <address>

the DS9 intance to which connect.

reset

Resets the DS9 window.

bmo ds9 reset [OPTIONS]

show_chart

Shows finding charts for the current plate in DS9.

bmo ds9 show_chart [OPTIONS] PLATE

Arguments

PLATE

Optional argument

help

Shows the help.

bmo help [OPTIONS]

ping

Pings the actor.

bmo ping [OPTIONS]

status

Returns the status.

bmo status [OPTIONS]

tcc

Sends a command to the TCC device.

In general, only bmo tcc connect is likely to be used if the connection to the TCC fails.

bmo tcc [OPTIONS] [COMMAND]

Arguments

COMMAND

Optional argument

version

Returns the version.

bmo version [OPTIONS]