Ska.ParseCM

Ska.ParseCM.parse_params(paramstr)

Parse parameters key1=val1,key2=val2,... from paramstr

Parameter values are cast to the first type (int, float, or str) that succeeds.

Parameters:paramstr – Comma separated string of key=val pairs
Return type:dict of key=val pairs
Ska.ParseCM.read_backstop(filename)

Read commands from backstop file.

Create dict with keys as follows for each command. paramstr is the actual string with comma-separated parameters and params is the corresponding dict of key=val pairs.

date char
time float
cmd char
params dict
paramstr char
tlmsid char
msid char
vcdu int
step int
scs int
Parameters:filename – Backstop file name
Returns:list of dict for each command
Ska.ParseCM.read_mm(filename)

Read maneuver summary file.

Parameters:filename – Maneuver summary file name
Return type:list of dict for each maneuver

Previous topic

Ska.Numpy

Next topic

Ska.quatutil