ImagePrior#

class jolideco.priors.ImagePrior(flux_prior, flux_prior_error=None)[source]#

Bases: Prior

Image prior

Parameters:
  • flux_prior (~pytorch.Tensor) – Prior image

  • flux_prior_error (~pytorch.Tensor) – Prior error image

Initialize internal Module state, shared by both nn.Module and ScriptModule.

Methods Summary

__call__(flux)

Evaluate the prior

to_dict()

To dict

Methods Documentation

__call__(flux)[source]#

Evaluate the prior

Parameters:

flux (~pytorch.Tensor) – Reconstructed flux

to_dict()[source]#

To dict