pnp_mace.prioragent

Prior agents.

Functions

bm3d_method(agent_input, params)

BM3D prior

Classes

PriorAgent(prior_agent_method, params)

Class providing a container and interface to various prior models.

class pnp_mace.prioragent.PriorAgent(prior_agent_method, params)[source]

Bases: pnp_mace.agent.Agent

Class providing a container and interface to various prior models.

Define the basic elements of the prior agent: the data to fit and the method used to update the input to reflect the data.

Parameters
  • prior_agent_method – method to update input to reflect data

  • params – parameters used by the prior agent method

pnp_mace.prioragent.bm3d_method(agent_input, params)[source]

BM3D prior

Parameters
  • agent_input – full-size reconstruction

  • params – params.noise_std for noise standard deviation

Returns

New full-size reconstruction after update