program cswt_mask_gen ! Uses use s2_types_mod use s2_sky_mod use cswt_error_mod use cswt_tr_mod ! Calls call cswt_error call cswt_tr_free call cswt_tr_io_fits_write_wcoeff call cswt_tr_mask_gen call parse_options call s2_sky_free ! Variables character (len=S2_STRING_LEN), parameter :: WAV_TYPE_MEXHAT = 'mexhat' character (len=S2_STRING_LEN), parameter :: WAV_TYPE_MORLET = 'morlet' real (kind=s2_sp), parameter :: THRES1_PROP_MEXHAT = 0.25e0 real (kind=s2_sp), parameter :: THRES2_PROP_MEXHAT = 0.9e0 real (kind=s2_sp), parameter :: THRES1_PROP_MORLET = 0.8e0 real (kind=s2_sp), parameter :: THRES2_PROP_MORLET = 0.01e0 real (kind=s2_sp), parameter :: THRES1_MIN_MEXHAT = 1.0e-3 real (kind=s2_sp), parameter :: THRES1_MIN_MORLET = 5.0e-4 character (len=S2_STRING_LEN) :: filename_wcoeff character (len=S2_STRING_LEN) :: filename_sky character (len=S2_STRING_LEN) :: filename_out character (len=S2_STRING_LEN) :: wavelet_type integer :: file_extension_sky type (s2_sky) :: sky_mask type (cswt_tr) :: tr_mask logical :: mode_cswt = .false. logical :: mode_morph = .false. logical :: mode_convert = .false. ! Subroutines and functions subroutine parse_options () end program cswt_mask_genGenerate an extended coefficient exclusion mask defined in the ecp wavelet coefficient domain from an original mask defined on the sky and the spherical wavelet transform of the original mask.
Notes:
Author: J. D. McEwen (mcewen@mrao.cam.ac.uk)
Version: 0.1 - November 2004
character (len=S2_STRING_LEN), parameter :: WAV_TYPE_MEXHAT = 'mexhat'
character (len=S2_STRING_LEN), parameter :: WAV_TYPE_MORLET = 'morlet'
real (kind=s2_sp), parameter :: THRES1_PROP_MEXHAT = 0.25e0reduce slowly increase slowly
real (kind=s2_sp), parameter :: THRES2_PROP_MEXHAT = 0.9e0reduce slowly increase slowly
real (kind=s2_sp), parameter :: THRES1_PROP_MORLET = 0.8e0reduce slowly increase slowly
real (kind=s2_sp), parameter :: THRES2_PROP_MORLET = 0.01e0reduce slowly increase slowly
real (kind=s2_sp), parameter :: THRES1_MIN_MEXHAT = 1.0e-3reduce slowly increase slowly
real (kind=s2_sp), parameter :: THRES1_MIN_MORLET = 5.0e-4reduce slowly increase slowly
character (len=S2_STRING_LEN) :: filename_wcoeff
character (len=S2_STRING_LEN) :: filename_sky
character (len=S2_STRING_LEN) :: filename_out
character (len=S2_STRING_LEN) :: wavelet_type
integer :: file_extension_sky
type (s2_sky) :: sky_mask
type (cswt_tr) :: tr_mask
logical :: mode_cswt = .false.
logical :: mode_morph = .false.
logical :: mode_convert = .false.
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