Skip to main content

py_ph_analyze_power_budget

Function py_ph_analyze_power_budget 

Source
pub(crate) fn py_ph_analyze_power_budget<'py>(
    py: Python<'py>,
    wg_sources: Vec<usize>,
    wg_targets: Vec<usize>,
    wg_losses: Vec<f64>,
    laser_power_dbm: f64,
    detector_sensitivity_dbm: f64,
) -> PyResult<Py<PyAny>>
Expand description

Analyze optical power budget (Rust-accelerated).