pyFDN.FDNPreset#
- class pyFDN.FDNPreset(build, metadata, design=<factory>)[source]#
A baked vanilla FDN plus metadata and optional design information.
metadatais an open JSON object intended for catalog and attribution information. When used,tagsshould be a list of strings so callers can filter presets consistently without restricting other metadata fields.designdeliberately uses the same nested dictionaries as the JSON document. Unknown choices are represented by leaving outtypeor the entire component:FDNPreset( build=build, metadata={"name": "small-room", "tags": ["room", "short"]}, design={ "delays": {"type": "uniform", "coprime": True}, "feedback_matrix": {"type": "orthogonal"}, }, )
- __init__(build, metadata, design=<factory>)#
Methods
__init__(build, metadata[, design])Attributes