Skip to main content

parse_constellation

Function parse_constellation 

Source
pub fn parse_constellation(v: &Value) -> Result<Constellation>
Expand description

Parse a constellation, normalised to unit energy: a name of Constellation::from_name (16-QAM, qam16, QPSK, BPSK, 8-PSK, 4-PAM, OOK) or a mapping {kind, m} (ConstellationSpec).

ยงErrors

Error::Config for an unknown family or a missing or invalid order.