pytomoatt.para

class pytomoatt.para.ATTPara(fname: str)[source]

Bases: object

Class for read and write parameter file with yaml format

init_axis()[source]
update_param(key: str, value) None[source]

Update a parameter in the YAML file.

Parameters:

key (str) – The key of parameter file to be set. Use ‘.’ to separate the keys.

write(fname=None)[source]
Parameters:

fname (str, optional) – Path to output file, for None to overwrite input file, defaults to None