- Systems
- System
System
System.__init__()
System.algorithms
System.aliases
System.commands
System.containers
System.dump()
System.dumps()
System.extra
System.find_algorithm()
System.find_command()
System.find_container()
System.find_parameter()
System.find_subsystem()
System.long_description
System.name
System.parameters
System.qualified_name
System.remove_algorithm()
System.remove_command()
System.remove_container()
System.remove_parameter()
System.remove_subsystem()
System.root
System.short_description
System.subsystems
- Subsystem
Subsystem
Subsystem.__init__()
Subsystem.algorithms
Subsystem.aliases
Subsystem.commands
Subsystem.containers
Subsystem.dump()
Subsystem.dumps()
Subsystem.extra
Subsystem.find_algorithm()
Subsystem.find_command()
Subsystem.find_container()
Subsystem.find_parameter()
Subsystem.find_subsystem()
Subsystem.long_description
Subsystem.name
Subsystem.parameters
Subsystem.qualified_name
Subsystem.remove_algorithm()
Subsystem.remove_command()
Subsystem.remove_container()
Subsystem.remove_parameter()
Subsystem.remove_subsystem()
Subsystem.root
Subsystem.short_description
Subsystem.subsystems
Subsystem.system
- System
- Parameters
- Containers
- Algorithms
- Commands
- Encodings
- Calibrators
- Alarms
- Ancillary
- Data Types
- Exceptions
- Expressions
- Verifiers
Systems¶
System¶
- class yamcs.pymdb.System¶
Bases:
object
The top-level system is the root element for the set of metadata necessary to monitor and command a space device, such as a satellite.
A system defines a namespace.
Metadata areas include: telemetry, calibration, alarm, algorithms and commands.
A system may have child
Subsystem
s, forming a system tree.- __init__(name: str, aliases: Optional[Mapping[str, str]] = None, short_description: Optional[str] = None, long_description: Optional[str] = None, extra: Optional[Mapping[str, str]] = None)¶
- dump(fp, indent: str = ' ', top_comment: bool | str = True) → None¶
Serialize this system in XTCE format to a file-like object
- dumps(indent: str = ' ', top_comment: bool | str = True) → str¶
Serialize this system to an XTCE formatted string
- find_algorithm(name: str) → Algorithm¶
Find an algorithm belonging directly to this system.
Raises an exception if no algorithm is found
- find_command(name: str) → Command¶
Find a command belonging directly to this system.
Raises an exception if no command is found
- find_container(name: str) → Container¶
Find a container belonging directly to this system.
Raises an exception if no container is found
- find_parameter(name: str) → Parameter¶
Find a parameter belonging directly to this system.
Raises an exception if no parameter is found
- find_subsystem(name: str) → Subsystem¶
Find a subsystem belonging directly to this system.
Raises an exception if no subsystem is found
- remove_algorithm(name: str) → bool¶
Removes an algorithm directly belonging to this system.
Raises an exception if no such algorithm exists
- remove_command(name: str) → bool¶
Removes a command directly belonging to this system.
Raises an exception if no such command exists
- remove_container(name: str) → bool¶
Removes a container directly belonging to this system.
Raises an exception if no such container exists
- remove_parameter(name: str) → bool¶
Removes a parameter directly belonging to this system.
Raises an exception if no such parameter exists
Subsystem¶
- class yamcs.pymdb.Subsystem¶
Bases:
System
A subsystem is identical to a
System
, but in addition keeps a reference to its parent system.- __init__(system: System, name: str, aliases: Optional[Mapping[str, str]] = None, short_description: Optional[str] = None, long_description: Optional[str] = None, extra: Optional[Mapping[str, str]] = None)¶
- dump(fp, indent: str = ' ', top_comment: bool | str = True) → None¶
Serialize this system in XTCE format to a file-like object
- dumps(indent: str = ' ', top_comment: bool | str = True) → str¶
Serialize this system to an XTCE formatted string
- find_algorithm(name: str) → Algorithm¶
Find an algorithm belonging directly to this system.
Raises an exception if no algorithm is found
- find_command(name: str) → Command¶
Find a command belonging directly to this system.
Raises an exception if no command is found
- find_container(name: str) → Container¶
Find a container belonging directly to this system.
Raises an exception if no container is found
- find_parameter(name: str) → Parameter¶
Find a parameter belonging directly to this system.
Raises an exception if no parameter is found
- find_subsystem(name: str) → Subsystem¶
Find a subsystem belonging directly to this system.
Raises an exception if no subsystem is found
- remove_algorithm(name: str) → bool¶
Removes an algorithm directly belonging to this system.
Raises an exception if no such algorithm exists
- remove_command(name: str) → bool¶
Removes a command directly belonging to this system.
Raises an exception if no such command exists
- remove_container(name: str) → bool¶
Removes a container directly belonging to this system.
Raises an exception if no such container exists
- remove_parameter(name: str) → bool¶
Removes a parameter directly belonging to this system.
Raises an exception if no such parameter exists