peng/touchstone.py
def _chunk_noise(noise):
    """Chunk input noise data into valid Touchstone file rows."""
    data = zip(
        noise["freq"],
        noise["nf"],
        np.abs(noise["rc"]),
        np.angle(noise["rc"]),
        noise["res"],
    )
    for freq, nf, rcmag, rcangle, res in data:
        yield freq, nf, rcmag, rcangle, res
def _chunk_noise(noise):
    """Chunk input noise data into valid Touchstone file rows."""
    data = zip(
        noise["freq"],
        noise["nf"],
        np.abs(noise["rc"]),
        np.angle(noise["rc"]),
        noise["res"],
    )
    for freq, nf, rcmag, rcangle, res in data:
        yield freq, nf, rcmag, rcangle, res
def _chunk_noise ( noise ) : data = zip ( noise [ "freq" ] , noise [ "nf" ] , np . abs ( noise [ "rc" ] ) , np . angle ( noise [ "rc" ] ) , noise [ "res" ] , ) for freq , nf , rcmag , rcangle , res in data : yield freq , nf , rcmag , rcangle , res
Chunk input noise data into valid Touchstone file rows.
Chunk input noise data into valid Touchstone file rows .