Module ctsimu.scenario.environment

Collection of parameters that describe the environment.

Expand source code
# -*- coding: UTF-8 -*-
"""
Collection of parameters that describe the environment.
"""

from ..helpers import *
from .group import Group
from .parameter import Parameter

class Environment(Group):
        """CTSimU environment properties."""
        def __init__(self, _root=None):
                Group.__init__(self, name="environment", _root=_root)

                self.set(key="material_id", value=None, native_unit="string", simple=True)
                self.set(key="temperature", value=None, native_unit="C")

Classes

class Environment

CTSimU environment properties.

Expand source code
class Environment(Group):
        """CTSimU environment properties."""
        def __init__(self, _root=None):
                Group.__init__(self, name="environment", _root=_root)

                self.set(key="material_id", value=None, native_unit="string", simple=True)
                self.set(key="temperature", value=None, native_unit="C")

Ancestors

Inherited members