edit_beamset

Example use of BeamSet and subclasses BeamMeasure.

Copyright (C) CSIRO 2017

Module Contents

Functions

arg_init()

Define the interprestation of command line arguments.

boolify(s)

autoconvert(s)

show_items(md)

check_metadata_items(obj)

main()

Attributes

HELPSTART

2018-May-19 Add function to check the metadata contents against defaults expected.

EXPLANATION

edit_beamset.HELPSTART = Multiline-String[source]
Show Value
"""This helps you edit header information (metadata) in a BeamSet file. A new file
is written with the altered metadata. The interface is simple:
-s Display all metadata items available for editting.
-i item will select metadata[item], display its value and, if -v is used, change it.
-v value, if given will set metadata[item] to value, with a data type the same as the original.

Note that editing metadata items that are lists or arrays is not implemented.
"""

2018-May-19 Add function to check the metadata contents against defaults expected.

edit_beamset.EXPLANATION[source]
edit_beamset.arg_init()[source]

Define the interprestation of command line arguments.

edit_beamset.boolify(s)[source]
edit_beamset.autoconvert(s)[source]
edit_beamset.show_items(md)[source]
edit_beamset.check_metadata_items(obj)[source]
edit_beamset.main()[source]