Program cswt_tr2sky

program cswt_tr2sky

        ! Uses
    use s2_types_mod
    use cswt_tr_mod

        ! Calls
    call cswt_tr_free
    call cswt_tr_io_fits_write_wcoeff_sky
    call parse_options

        ! Variables
    character (len=S2_STRING_LEN) :: filename_in
    character (len=S2_STRING_LEN) :: filename_out
    integer :: i_dil
    integer :: i_gamma
    integer :: nside
    logical :: interp
    logical :: all
    integer, parameter :: FITS_FILENAME_EXT_LEN = 5
    type (cswt_tr) :: tr

        ! Subroutines and functions
    subroutine parse_options ()

end program cswt_tr2sky
Convert a spherical wavelet transform fits file (ecp sampled) to a sky Healpix fits file. Just the sky corresponding to a specified dilation and orientation index may be written, or skies corresponding to all dilations and orientations may be written.

Usage: cswt_tr2sky

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

Version: 0.1 - November 2004


Description of Variables

filename_in

character (len=S2_STRING_LEN) :: filename_in

filename_out

character (len=S2_STRING_LEN) :: filename_out

i_dil

integer :: i_dil

i_gamma

integer :: i_gamma

nside

integer :: nside

interp

logical :: interp

all

logical :: all

FITS_FILENAME_EXT_LEN

integer, parameter :: FITS_FILENAME_EXT_LEN = 5

tr

type (cswt_tr) :: tr

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