lib.Qripples module

class lib.Qripples.BeamGaussianRippled(fwhm, backward=False, nripples=0)[source]

Bases: BeamGaussian

Axisymmetric gaussian beam with ripples.

Methods

__call__(theta, phi)

Call self as a function.

healpix(nside)

Return the beam as a Healpix map.

class lib.Qripples.ConvolutionRippledGaussianOperator(freq, nripples=2, **keywords)[source]

Bases: HealpixConvolutionGaussianOperator

Convolve a Healpix map by a gaussian kernel, modulated by ripples.

Attributes:
C

Return the complex-conjugate of the operator.

H

Return the adjoint of the operator.

I

Return the inverse of the operator.

T

Return the transpose of the operator.

adjoint
classin
classout
commin
commout
dtype
inverse
inverse_adjoint
inverse_conjugate
inverse_transpose
nbytes

Approximate memory footprint.

rules
shape
shapein
shapeout
transpose

Methods

__call__(x[, out, operation, preserve_input])

Call self as a function.

copy([target])

Return a shallow copy of the operator.

del_rule(subjects[, operation])

Delete an operator rule.

delete()

Delete an operator and its associated operators.

propagate_attributes(cls, attr)

Propagate attributes according to operator's attrout.

propagate_commin(commin)

Propagate MPI communicator of the input to the operands.

propagate_commout(commin)

Propagate MPI communicator of the output to the operands.

reshapein(shape)

Return the output shape given an input shape.

reshapeout(shape)

Return the input shape given an output shape.

set_rule(subjects, predicate[, operation])

Add a rule to the rule list, taking care of duplicates and priorities.

todense([shapein, shapeout, inplace])

Output the dense representation of the Operator as a ndarray.

toshapein(v)

Reshape a vector into a multi-dimensional array compatible with the operator's input shape.

toshapeout(v)

Reshape a vector into a multi-dimensional array compatible with the operator's output shape.

validate_flags(flags, **keywords)

Return flags as a dictionary.

validatein(shape)

Validate an input shape by raising a ValueError exception if it is invalid.

validateout(shapeout)

Validate an output shape by raising a ValueError exception if it is invalid.

conjugate

direct

matvec

rmatvec

direct(input, output)[source]