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_tr2skyConvert 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
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
subroutine parse_options () ! Calls: getArgument end subroutine parse_optionsParse the options passed when program called. ! @author J. D. McEwen (mcewen@mrao.cam.ac.uk)
Version: 0.1 - November 2004