TransportMaps.Distributions.TransportMapDistributionBase
¶
Module Contents¶
Classes¶
Abstract class for distributions of the transport map type (\(T^\sharp \pi\) or \(T_\sharp \pi\)) |
- class TransportMaps.Distributions.TransportMapDistributionBase.TransportMapDistribution(transport_map: TransportMaps.Maps.TransportMap, base_distribution: TransportMaps.Distributions.DistributionBase.Distribution)[source]¶
Bases:
TransportMaps.Distributions.DistributionBase.Distribution
Abstract class for distributions of the transport map type (\(T^\sharp \pi\) or \(T_\sharp \pi\))
See also
PushForwardTransportMapDistribution
andPullBackTransportMapDistribution
.- quadrature(qtype, qparams, mass=1.0, mpi_pool=None, **kwargs)[source]¶
Generate quadrature points and weights.
- Parameters:
qtype (int) – quadrature type number. The different types are defined in the associated sub-classes.
qparams (object) – inputs necessary to the generation of the selected quadrature
mass (float) – total mass of the quadrature (1 for probability measures)
mpi_pool (
mpi_map.MPI_Pool
) – pool of processes
- Returns:
- abstract map_samples_base_to_target(x, mpi_pool=None)[source]¶
[Abstract] Map input samples (assumed to be from \(\pi\)) to the corresponding samples from \(T^\sharp \pi\) or \(T_\sharp \pi\).