STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
config_switch.py File Reference

Go to the source code of this file.

Namespaces

namespace  engine
namespace  engine.pipeline
namespace  engine.pipeline.config_switch

Functions

Path engine.pipeline.config_switch.canonical_config_path (str injector_type)
Dict[str, Any] engine.pipeline.config_switch.load_canonical_config (str injector_type)
list engine.pipeline.config_switch.available_injectors ()
list engine.pipeline.config_switch.available_propellants ()
Dict[str, Any] engine.pipeline.config_switch.apply_injector_type (Dict[str, Any] config, str injector_type, *, bool keep_declared_cd=False)
Dict[str, Any] engine.pipeline.config_switch.apply_propellant (Dict[str, Any] config, str preset_name)
Dict[str, tuple] engine.pipeline.config_switch._preset_fluid_names ()
Optional[str] engine.pipeline.config_switch.infer_preset_from_fluids (Optional[Dict[str, Any]] config)
Dict[str, Any] engine.pipeline.config_switch.derive_chamber_gas (Dict[str, Any] config)
None engine.pipeline.config_switch._stamp_propellant_change (Dict[str, Any] cfg, Optional[str] old_preset, str new_preset, Optional[str] inj_type)
Dict[str, Any] engine.pipeline.config_switch._carry_design_intent (Dict[str, Any] old, Dict[str, Any] cfg)
Dict[str, Any] engine.pipeline.config_switch._carry_custom_propellant (Dict[str, Any] old, Dict[str, Any] cfg)
Dict[str, Any] engine.pipeline.config_switch.switch_config (Dict[str, Any] config, *, Optional[str] injector_type=None, Optional[str] propellant_preset=None)
Optional[str] engine.pipeline.config_switch.design_staleness (Any config)
Optional[str] engine.pipeline.config_switch.chamber_staleness (Any config)
Dict[str, Any] engine.pipeline.config_switch._preset_fluids (str name)
Optional[str] engine.pipeline.config_switch.preset_fluid_drift (Any config)

Variables

 engine.pipeline.config_switch._log = logging.getLogger(__name__)
 engine.pipeline.config_switch._PROJECT_ROOT = Path(__file__).resolve().parents[2]
str engine.pipeline.config_switch._CANONICAL_DIR = _PROJECT_ROOT / "configs" / "canonical"
float engine.pipeline.config_switch.CHAMBER_GAS_REFERENCE_PC_PSI = 430.0
tuple engine.pipeline.config_switch._DESIGN_INTENT_KEYS
float engine.pipeline.config_switch._FLUID_DRIFT_REL = 0.05