lib.Qbilin_interp module

class lib.Qbilin_interp.Cartesian2HealpixOperator_bilin_interp(nside, nest=False, **keywords)[source]

Bases: _HealPixCartesian

Convert cartesian coordinates into Healpix pixels.

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.

get_interpol(input)

input : (ntimes, ncolmax, 3) array

get_theta_phi(input)

input : (ntimes, ncolmax, 3) array

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(shapein)

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]
get_interpol(input)[source]
input(ntimes, ncolmax, 3) array

Cartesian vectors pointing on a position on the sphere.

pix(4, ntimes, ncolmax) array

The four HEALPix pixels closest to the direction.

wei(4, ntimes, ncolmax) array

Their associated weights to compute a bilinear interpolation.

get_theta_phi(input)[source]
input(ntimes, ncolmax, 3) array

Cartesian vectors pointing on a position on the sphere.

theta(ntimes, ncolmax) array

Colatitude in radians.

phi(ntimes, ncolmax) array

Longitude in radians.