Home
Manual
Packages
Global Index
Keywords
Quick Reference
|
all functions - a
ad2d
|
coordinate transformation :
sexadecimal hour angle to decimal degree
for x(,1:3) and sexadecimal to decimal for x(,4:6)
see also : d2ad */
interpreted function, defined at ./astools.i line 3
|
almCl
|
NT
almCl(alm)
returns the power spectrum deduced from alms.
interpreted function, defined at ./harmonic.i line 276
|
almF
|
NT
field=almF(alm,nn)
returns the recomposed field (dimensions nn*nn) using alm.
field is of the form theta along absiss phi along ordinate
interpreted function, defined at ./harmonic.i line 115
|
almF3D
|
NT
field3D=almF3D(alm,nn)
returns the 3D recomposed field (dimensions nn*nn*nn) using alm.
field is of the form theta along absiss phi along ordinate
r along alt ordinate
EXAMPLE
nn=10;
#include "Dom/Density_utils.i"
x=span(-1,1,nn)(,-:1:nn)(,,-:1:nn);
y=span(-1,1,nn)(-:1:nn,)(,,-:1:nn);
z=span(-1,1,nn)(-:1:nn,)(-:1:nn,,);
u=1/sqrt((x-1.1)^2+(y-1.1)^2+0.1^2);
v=Projec_Halo(u,[0.,0,0],[x,y,z],1.,sz=nn*2);
alm=Falm(v,nn);
u1=almF3D(alm,nn,xyz=1,rmax=1).re;
w=where(x^2+y^2+z^2<1);
pl,(u1 -u)(w)(*);
pl,(u1)(w)(*),color=-6;
interpreted function, defined at ./harmonic.i line 143
|
almT
|
almT
interpreted function, defined at ./harmonic.i line 370
|
alm_lmax
|
alm_lmax(filename)
Get value of LMAX in A(l,m) file FILENAME (can be used to assert
validity of file).
interpreted function, defined at ./healpix_io.i line 12
|
SEE ALSO:
|
alm_read,
alm_write
|
alm_pack
|
alm_pack(a)
-or- alm_pack(a, lmax)
Returns packed A(l,m) data from array A. Input array A can be a real
2×(LMAX+1)×(LMAX+1) array or a complex (LMAX+1)×(LMAX+1) array or only
the lower triangular part of A(l,m) packed as a complex vector with
NUMBER elements or a 2×NUMBER real array. If A is real, then A(1,..)
and A(2,..) are the real and imaginary parts of the A(l,m). The
result is an array of float's with dimension 2×NUMBER such that:
RESULT(1, ) = real part of the A(l,m)
RESULT(2, ) = imaginary part of the A(l,m)
and with:
NUMBER = 1 + LMAX*(LMAX + 3)/2.
Optional argument LMAX is an output variable to store the value of
the parameter.
interpreted function, defined at ./healpix_io.i line 86
|
SEE ALSO:
|
alm_unpack,
alm_write
|
alm_read
|
alm_read(filename)
Read data in A(l,m) file FILENAME. If keyword UNPACK is true, the
result is a 2×(LMAX+1)×(LMAX+1) array ortherwise the result is the
lower triangular part of A(l,m) packed as a 2×NUMBER array where:
NUMBER = 1 + LMAX*(LMAX + 3)/2
In any case, the result is such that:
RESULT(1,..) = real part of the A(l,m)
RESULT(2,..) = imaginary part of the A(l,m)
interpreted function, defined at ./healpix_io.i line 27
|
SEE ALSO:
|
alm_lmax,
alm_write
|
alm_testF
|
NT
field=almF(alm,nn)
returns the recomposed field (dimensions nn*nn) using alm.
field is of the form theta along absiss phi along ordinate
interpreted function, defined at ./harmonic.i line 83
|
alm_unpack
|
alm_unpack(ap)
Unpack a 2×NUMBER array AP into a 2×(LMAX+1)×(LMAX+1) array
where:
NUMBER = 1 + LMAX*(LMAX + 3)/2
In any case, the result is such that:
RESULT(1,..) = real part of the A(l,m)
RESULT(2,..) = imaginary part of the A(l,m)
interpreted function, defined at ./healpix_io.i line 156
|
SEE ALSO:
|
alm_pack,
alm_read
|
alm_write
|
alm_write, filename, a;
Write A(l,m) data stored in array A into file FILENAME. If keyword
OVERWRITE is true, FILENAME is overwritten if it already exists.
Input array A can be a real 2×(LMAX+1)×(LMAX+1) array or a complex
(LMAX+1)×(LMAX+1) array or only the lower triangular part of A(l,m)
packed as a complex vector with NUMBER elements or a 2×NUMBER real
array. If A is real, then A(1,..) and A(2,..) are the real and
imaginary parts of the A(l,m).
interpreted function, defined at ./healpix_io.i line 53
|
SEE ALSO:
|
alm_lmax,
alm_read,
alm_pack
|
angdist
|
angdist(z,h0=,k=,lambda0=,Omega_m=,q0=,silent=)
Compute the Angular diameter distance (lumdist/(1+z)^2)
interpreted function, defined at ./cosmo.i line 263
|
SEE ALSO:
|
lumdist,
ldist,
cosmo_param
|
angsize
|
angsize(dl,z,h0=,k=,lambda0=,Omega_m=,q0=,silent=)
Compute the apparent angular size of an object as a function of
redshift.
INPUTS: dl - proper size of the object (in kpc)
z - redhsift values
EXAMPLE: plot the angular size of a 50 kpc diameter galaxy as
a function of redshift for the default cosmology
(Lambda = 0.7, Omega_m=0.3) up to z = 5
z = span(0.1,5,100) //Angular size undefined at z = 0
pg,angsize(50,z),z;
xytitles,"z","Angular Size (\")"
interpreted function, defined at ./cosmo.i line 275
|
SEE ALSO:
|
lumdist,
ldist,
cosmo_param,
angdist,
propersize
|
|