pyFDN.param#

pyFDN.param(model, name=None)[source]#

Reference the parameter called name in model.

Parameters:
  • model (Any) – The model to resolve against. Pass a module directly (with name omitted) to reference it without any lookup – the escape hatch for a graph whose leaf names you do not control.

  • name (str | None) – A leaf name, or one of the semantic aliases "feedback" (the feedback matrix, FLAMO’s fB), "delay" (fF), "direct" (brB), and the three filter hooks "post_delay" (the in-loop filter, i.e. the decay), "post_matrix" and "post_output" (the output EQ). "absorption" and "post_eq" also resolve to the first and last of those.

Raises:

ValueError – If the name matches no parameter, or more than one. The message lists what the model does offer.

Return type:

ParamRef