Program s2_map2alm

program s2_map2alm

        ! Uses
    use s2_types_mod
    use s2_sky_mod

        ! Calls
    call parse_options
    call s2_sky_compute_alm_iter
    call s2_sky_free
    call s2_sky_write_alm_file

        ! Variables
    character (len=S2_STRING_LEN) :: filename_alm
    character (len=S2_STRING_LEN) :: filename_map
    type (s2_sky) :: sky
    integer :: ext = 1
    integer :: lmax = 128
    integer :: mmax = 128
    integer :: iter_order = 0

        ! Subroutines and functions
    subroutine parse_options ()

end program s2_map2alm
Read a HEALPix map fits file and write the read map to a HEALPix fits alm file.

Usage:

Author: J. D. McEwen (mcewen@mrao.cam.ac.uk)

Version: 0.1 - November 2005


Description of Variables

filename_alm

character (len=S2_STRING_LEN) :: filename_alm

filename_map

character (len=S2_STRING_LEN) :: filename_map

sky

type (s2_sky) :: sky

ext

integer :: ext = 1

lmax

integer :: lmax = 128

mmax

integer :: mmax = 128

iter_order

integer :: iter_order = 0

Description of Subroutines and Functions

parse_options

subroutine parse_options ()
    ! Calls: getArgument
end subroutine parse_options
Parse the options passed when program called.

Author: J. D. McEwen (mcewen@mrao.cam.ac.uk)

Version: 0.1 - November 2004