program cswt_plot_swav ! Uses use s2_types_mod use s2_sky_mod use cswt_error_mod use cswt_tmpl_mod use cswt_swav_mod use cswt_tr_mod ! Calls call cswt_error call cswt_swav_dilate call cswt_swav_free call cswt_swav_rotate call cswt_swav_write_map_file call cswt_tr_io_txt_dilation_read call parse_options ! Variables character (len=S2_STRING_LEN), parameter :: WAV_TYPE_FILE = 'file' character (len=S2_STRING_LEN), parameter :: WAV_TYPE_MEXHAT = 'mexhat' character (len=S2_STRING_LEN), parameter :: WAV_TYPE_BUTTERFLY = 'butterfly' character (len=S2_STRING_LEN), parameter :: WAV_TYPE_MORLET = 'morlet' character (len=S2_STRING_LEN) :: filename_dilation character (len=S2_STRING_LEN) :: filename_out_prefix character (len=S2_STRING_LEN) :: filename_out character (len=S2_STRING_LEN) :: wavelet_type logical :: center_on_equator logical :: norm_preserve real (kind=s2_sp), parameter :: ALPHA_CENTER = 0.0e0 real (kind=s2_sp), parameter :: BETA_CENTER = pi / 2.0e0 real (kind=s2_sp), parameter :: GAMMA_CENTER = pi integer :: i_param = 0 integer :: n_param = 0 integer :: nside integer :: i_dil integer :: fail real (kind=s2_sp), allocatable, dimension (:) :: param real (kind=s2_sp), allocatable, dimension (:,:) :: dilation type (cswt_swav) :: swav_mother type (cswt_swav) :: swav ! Subroutines and functions subroutine parse_options () end program cswt_plot_swavPlot spherical wavelet for a range of dilations.
Usage: cswt_analysis
Author: J. D. McEwen (mcewen@mrao.cam.ac.uk)
Version: 0.1 - November 2004
character (len=S2_STRING_LEN), parameter :: WAV_TYPE_FILE = 'file'
character (len=S2_STRING_LEN), parameter :: WAV_TYPE_MEXHAT = 'mexhat'
character (len=S2_STRING_LEN), parameter :: WAV_TYPE_BUTTERFLY = 'butterfly'
character (len=S2_STRING_LEN), parameter :: WAV_TYPE_MORLET = 'morlet'
character (len=S2_STRING_LEN) :: filename_dilation
character (len=S2_STRING_LEN) :: filename_out_prefix
character (len=S2_STRING_LEN) :: filename_out
character (len=S2_STRING_LEN) :: wavelet_type
logical :: center_on_equator
logical :: norm_preserve
real (kind=s2_sp), parameter :: ALPHA_CENTER = 0.0e0
real (kind=s2_sp), parameter :: BETA_CENTER = pi / 2.0e0
real (kind=s2_sp), parameter :: GAMMA_CENTER = pi
integer :: i_param = 0
integer :: n_param = 0
integer :: nside
integer :: i_dil
integer :: fail
real (kind=s2_sp), allocatable, dimension (:) :: param
real (kind=s2_sp), allocatable, dimension (:,:) :: dilation
type (cswt_swav) :: swav_mother
type (cswt_swav) :: swav
subroutine parse_options () ! Calls: cswt_error, 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