Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
65ab5a1
successfully merged changes from zodi branch
unfunfunt Jun 9, 2022
ddc21a5
new working version of HFI loop, maps still undifferenced
unfunfunt Jun 16, 2022
91cebc0
demodulate hfi data, added new template cosmic ray class
unfunfunt Jun 30, 2022
79d9fa5
minor change to cray template class
unfunfunt Aug 5, 2022
7c97e4e
fixed issue with unsigned integer in flags
unfunfunt Sep 19, 2022
3a169b1
removed correlated noise sampling
unfunfunt Sep 21, 2022
7a7cdcb
Fixed HFI bandpass bug
hke Nov 4, 2022
fe03f89
Fixed HFI bandpass bug
hke Nov 4, 2022
b22e703
Added HFI placeholders for baseline fitting and demodulation
hke Nov 9, 2022
9d142b4
Added HFI placeholders
hke Nov 14, 2022
cee43f3
added demodulation
Nov 28, 2022
65c0a9e
Merge branch 'hfi' of https://github.com/Cosmoglobe/Commander into hfi
Nov 28, 2022
a1e68d1
updated baseline subtraction
Dec 13, 2022
f2242bf
updated comm_tod_hfi with demodulation
Aug 14, 2023
dcb6947
added comm_tod_cr_mod for cosmic rays
Aug 16, 2023
692a9b5
cosmic rays mod
Aug 16, 2023
bae03c7
fixed zodi output crash
unfunfunt Apr 18, 2024
a09b56d
added 143
Apr 19, 2024
9c5af5e
Fixed scaling reset bug, disabled old-style specind sampling
hke May 8, 2024
4748dee
Merge branch 'zodi_static' of github.com:Cosmoglobe/Commander into zo…
hke May 8, 2024
0de6a8d
Enabled old-style specind sampling again
hke May 8, 2024
78d20df
Revert "Segfault appearing in initialize_data_mod somehow"
hke May 8, 2024
535cbc4
now outputs template scaling amplitude to chains file if it is used
unfunfunt May 16, 2024
a127bb0
Changed random zodi initialization to use a fixed rms step length
hke Jun 24, 2024
93d5d19
Added dummy function for writing things out
dncnwtts Jun 24, 2024
6470747
Updated to read in SED from existing chain
dncnwtts Jun 24, 2024
8083450
Added readin capability
dncnwtts Jun 24, 2024
dd29790
Disabled static component sampling
hke Jul 1, 2024
8b84f2f
Added FIRAS defaults, fixed line emission bug
hke Jul 12, 2024
52df515
Fixed resetting pixreg_val after MH rejection
dncnwtts Aug 15, 2024
9e4925f
Updated modules to working version
hke Aug 27, 2024
877247f
Fixed freefreeEM component; cannot be fitted, but only projected from…
hke Aug 28, 2024
fa73267
Added defaults files for planck2015 case
hke Aug 28, 2024
9594570
Added Planck 2015 parameter file and run script
hke Aug 28, 2024
7026ff2
Changed libraries for cmake
dncnwtts Aug 28, 2024
7da0f60
Updated default runfile
dncnwtts Aug 28, 2024
3104ec6
Fixed bug with duplicate labels
dncnwtts Aug 31, 2024
2cfad7c
Updated parameter file, temporary workaround for free-free
dncnwtts Aug 31, 2024
bb76f64
Fixed out-of-bounds error
dncnwtts Sep 2, 2024
a392607
Deconvolve beam from input maps
hke Sep 6, 2024
c2d0bd2
Merge branch 'AST9240_2024' of github.com:Cosmoglobe/Commander into A…
hke Sep 6, 2024
e619780
Fixed init error
hke Sep 6, 2024
ecbbec8
Fixed init error
hke Sep 6, 2024
81d7d43
Fixed init error
hke Sep 6, 2024
149c975
Fixed init error
hke Sep 6, 2024
f456d24
Fixed init error
hke Sep 6, 2024
34f6d84
Make report_error actually end the program
eirikgje Sep 18, 2024
a77fbef
Restored hdf mod; simplified hfi baseline routine; moved scandata to …
hke Oct 26, 2024
e7a7ded
Implemented dedicated routine for setting the modulation phase
hke Oct 27, 2024
054cec1
Split off nonlin estimation from main loop
hke Oct 27, 2024
21b4e61
Enabled absolute calibration
hke Oct 27, 2024
4c9aa3d
Subtract signal in baseline estimation
hke Oct 27, 2024
b483072
Added support for linear MBBtab
hke Nov 2, 2024
190eb90
pointing script
Nov 12, 2024
633a61e
pointing script
Nov 12, 2024
95fe359
pointing script
Nov 12, 2024
f2c991a
Updating the write script
dncnwtts Nov 17, 2024
d0e332f
Merge branch 'zodi_static' of github.com:Cosmoglobe/Commander into zo…
dncnwtts Nov 17, 2024
a181b10
Updated write_tod scripts
dncnwtts Nov 18, 2024
fbbc584
Fixed bug in DIRBE output script
dncnwtts Nov 19, 2024
51efb6a
testing the interpolation
dncnwtts Nov 26, 2024
a7e6697
Fixing issue with rotations
dncnwtts Nov 26, 2024
d53e4ea
Added instrument labels, adjusted priors
hke Nov 26, 2024
36eb85d
Added positivity prior on MBBtab in MH sampling
hke Nov 27, 2024
08f5959
Added missing initialization of l_apod
hke Nov 28, 2024
25e728e
Comet debugging
dncnwtts Nov 30, 2024
b579bb0
Merge branch 'zodi_static' of github.com:Cosmoglobe/Commander into zo…
dncnwtts Nov 30, 2024
5f59a06
Added support for Wright (1998) zodi model
hke Nov 30, 2024
c2666f2
Merge branch 'zodi_static' of github.com:Cosmoglobe/Commander into zo…
hke Nov 30, 2024
94cb582
Merge pull request #190 from Cosmoglobe/zodi_static
unfunfunt Dec 17, 2024
6ad4e45
Support for separate preconditioners for each sample group
hke Jan 14, 2025
01253c0
Merge pull request #191 from Cosmoglobe/precond
RaelynSullivan Jan 14, 2025
379d9ff
Updated defaults
hke Jan 15, 2025
1b3e571
Merge pull request #192 from Cosmoglobe/precond
RaelynSullivan Jan 15, 2025
cece505
Added missing CMB defaults file
hke Jan 15, 2025
f0fea05
Merge pull request #193 from Cosmoglobe/precond
RaelynSullivan Jan 15, 2025
b8704a3
Added missing defaults
hke Jan 15, 2025
7bc4c20
Merge pull request #194 from Cosmoglobe/precond
RaelynSullivan Jan 15, 2025
6bece0b
Fixed alpha vs albedo bug
hke Jan 17, 2025
c421586
Fixed MCMC Gibbs bug when running with zodi
hke Jan 17, 2025
e20d515
Bug fixes for static component
hke Jan 18, 2025
19a6660
Fixed zodi monopole bug, disabled positivity prior
hke Jan 20, 2025
1bceda4
Merge pull request #195 from Cosmoglobe/precond
unfunfunt Jan 23, 2025
45a0902
merged devel into hfi
unfunfunt Jan 23, 2025
4348a4e
Found bug, requires changing flag arrays to 32-bit integers
dncnwtts Jan 23, 2025
7f9fcfd
Fixed issues with flags, consolidated asteroids and comets.
dncnwtts Jan 24, 2025
b5dccc7
Merge branch 'devel' of github.com:Cosmoglobe/Commander into devel
dncnwtts Jan 24, 2025
9c946b0
merged hfi and devel
unfunfunt Jan 27, 2025
056b0f5
fixed cmake compilation of merge
unfunfunt Jan 27, 2025
7369895
Merge pull request #196 from Cosmoglobe/hfi
unfunfunt Jan 27, 2025
e32b2b8
Updated DIRBE flags
dncnwtts Jan 28, 2025
392fa59
Merge branch 'devel' of github.com:Cosmoglobe/Commander into devel
dncnwtts Jan 28, 2025
693a936
Added parameter files for 1 degree, low resolution run
dncnwtts Jan 28, 2025
fd38f5a
Merged AST9240 into devel, still have some bugs
dncnwtts Jan 28, 2025
19c1771
Removed warning, results seem reasonable.
dncnwtts Jan 28, 2025
be766ee
Removed for real
dncnwtts Jan 28, 2025
9ad6410
Merge branch 'devel' of github.com:Cosmoglobe/Commander into devel
dncnwtts Jan 29, 2025
b4c3251
Removed debug file output
dncnwtts Jan 29, 2025
274a930
Fixed validation bug
dncnwtts Jan 29, 2025
e0f44ce
Debugging t0/t1 issue
dncnwtts Jan 29, 2025
3ea7eba
Added optional support for reading in end time of TOD.
dncnwtts Jan 29, 2025
b5f646d
Complete Gibbs sample with Planck 2015 + 10 DIRBE scans
dncnwtts Jan 29, 2025
8f20c47
further progress on merging hfi and devel, now doesn't crash immediately
unfunfunt Jan 30, 2025
1d1b212
merged my fixes and Duncans
unfunfunt Jan 30, 2025
564017e
fixed bug with monopole prior read in
unfunfunt Jan 30, 2025
c4fbe6e
fixed issue with 4 digit gain printing
unfunfunt Jan 30, 2025
c186ccd
Added CI paramter file
dncnwtts Jan 31, 2025
8b8de1d
Implemented new ptsrc preconditioner based on PARDISO, a sparse matri…
hke Jan 31, 2025
2f8e581
Optmized ptsrc preconditioner
hke Feb 1, 2025
3ede41c
Fixed uninitiazed call
dncnwtts Feb 2, 2025
da903a5
Updated debug flags to work with ifx
dncnwtts Feb 2, 2025
1cfd9e9
Fixed potential uninitialized error
dncnwtts Feb 2, 2025
7d813b2
Added updated compilers
dncnwtts Feb 2, 2025
cb96076
Enabled relative gain estimation in DIRBE
hke Feb 3, 2025
3306a10
added deallocate(mask_zodi) statement
Feb 4, 2025
726627f
Added missing mkl module load
dncnwtts Feb 4, 2025
46478e5
Fixed initialization error
dncnwtts Feb 4, 2025
d505964
Removed potentially dangerous array temporary behavior
dncnwtts Feb 4, 2025
1a94658
Working paramter file when using libsharp in debug mode
dncnwtts Feb 5, 2025
b8dff3d
Working version with ifx
dncnwtts Feb 5, 2025
d3dca52
Added test for parameter file during readin
dncnwtts Feb 6, 2025
1789ae5
Fixed subroutine notation
dncnwtts Feb 6, 2025
fbee245
Merge branch 'devel' of github.com:Cosmoglobe/Commander into devel
unfunfunt Feb 11, 2025
1327094
Less speed-killing, still working fine
dncnwtts Feb 11, 2025
08bfc81
new empty crosstalk module for hfi
unfunfunt Feb 12, 2025
c7b2112
merged changes
unfunfunt Feb 12, 2025
30e4b43
Added synch chipass defaults
hke Feb 13, 2025
1ae9295
added now framework for one channel over the full flight processing f…
unfunfunt Feb 14, 2025
496678c
Merge branch 'devel' of github.com:Cosmoglobe/Commander into devel
unfunfunt Feb 14, 2025
cc8bd30
Improved TOD masking; extended parameter field length from 256 to 204…
hke Feb 16, 2025
77985ea
Enabled gain sampling for DIRBE; note that this breaks other experime…
hke Feb 16, 2025
8a131d3
Merge branch 'precond' of github.com:Cosmoglobe/Commander into precond
hke Feb 16, 2025
afe2ccd
fixed sd/dd deallocation and d_calib init
Feb 20, 2025
00116d1
Reorganized
dncnwtts Feb 21, 2025
b63130b
Updated paths
dncnwtts Feb 21, 2025
907d48a
Added moon position to common field
dncnwtts Feb 21, 2025
b70e052
Added moon position readin
dncnwtts Feb 21, 2025
838ca2a
Edited comment
dncnwtts Feb 21, 2025
0f4edbe
Merge pull request #197 from LucaZapelli/devel
dncnwtts Feb 21, 2025
e32ea04
Moonpos update
dncnwtts Feb 24, 2025
4350768
Merge branch 'devel' of github.com:Cosmoglobe/Commander into devel
dncnwtts Feb 24, 2025
7c46e3e
Started implementing moon and earth mapping
hke Feb 24, 2025
02107ce
Merge branch 'precond' into devel
hke Feb 24, 2025
20746c9
Merge pull request #199 from Cosmoglobe/devel
hke Feb 24, 2025
52cd3fb
merge
hke Feb 24, 2025
c043199
Integrated moon and earth pointing into mapping routines, added missi…
hke Feb 25, 2025
78f34e7
Merge pull request #201 from Cosmoglobe/precond
hke Feb 25, 2025
838317a
Added missing parameters to continuous integration
hke Feb 25, 2025
7e6aa17
Merge pull request #202 from Cosmoglobe/precond
hke Feb 25, 2025
b77bc93
merge
hke Feb 26, 2025
7c88cce
merge
hke Feb 26, 2025
09e7e6e
merge
hke Feb 26, 2025
e7c10ae
Added missing parameters
hke Feb 27, 2025
5960f86
Merge branch 'hfi' into devel
hke Feb 27, 2025
1c051c5
Merge pull request #203 from Cosmoglobe/devel
hke Feb 27, 2025
1f4accd
merge
hke Feb 27, 2025
520f6f4
Split HFI_mod into submodule
hke Feb 27, 2025
985c559
Added debug statements; need proper flags before continuing
hke Feb 27, 2025
7f9eb5b
Moved scandata to comm_tod_mod; activated non-linear corrections for HFI
hke Feb 27, 2025
02165b2
Enabled gain sampling in HFI
hke Feb 27, 2025
3049845
Added white noise PSD class, tuned HFI flagging, enabled Ncorr sampli…
hke Mar 3, 2025
fe7f33a
Zodi clean-up and generalized phase function; added bp to comm_tod fo…
hke Mar 5, 2025
7b92d8e
Started on phase function parameter sampling
hke Mar 5, 2025
a0c6cb6
Fixed default parameter_files
Mar 6, 2025
4104f7c
Fixed use_moon_point and use_earth_elon
angela-bonato Mar 6, 2025
129f234
some bugfixes and new 100 GHz TOD defaults
unfunfunt Mar 7, 2025
0cea136
Fixed flagging bug; enabled zodi subtraction in HFI_mod
hke Mar 10, 2025
e46cd66
Merge pull request #205 from Cosmoglobe/devel
hke Mar 10, 2025
66cfaf9
Implemented phase function fitting
hke Mar 10, 2025
214644a
Merge branch 'precond' of github.com:Cosmoglobe/Commander into precond
hke Mar 10, 2025
cca5ca6
Merge pull request #204 from Cosmoglobe/hfi
hke Mar 10, 2025
1483d1c
Merge pull request #206 from Cosmoglobe/devel
hke Mar 10, 2025
2c0c7e6
Updated filelist to include moon data
hke Mar 11, 2025
034d763
new version of hdf file generation with fix for npipe pointing and co…
unfunfunt Mar 13, 2025
caea9e8
Merge branch 'hfi' of github.com:Cosmoglobe/Commander into hfi
unfunfunt Mar 13, 2025
281574b
Add HFI single horn parameter files
Mar 17, 2025
4f73c33
CO default parameter files for HFI single horn runs
Mar 17, 2025
bf30dad
Added support for pixel histogram data selection
hke Mar 17, 2025
144da5d
relquad defaults for single horns
Mar 17, 2025
18275cd
Line comp mod with faster mixing matrix updates
Mar 17, 2025
6a01c59
Merge branch 'devel' of github.com:Cosmoglobe/Commander into devel
Mar 18, 2025
2188fac
Python files to extend HFI beams and produce HFI comp. separation def…
Mar 18, 2025
d8d1b4b
Merge remote-tracking branch 'origin/precond' into hfi
unfunfunt Mar 18, 2025
5f43bd5
first running polarized HFI 100 GHz maps
unfunfunt Mar 18, 2025
0ebb041
Wright debugging, minor fixes
hke Apr 8, 2025
7a4293e
Better output from dynamic masking and MH sampling; auto-tuned step s…
hke Apr 10, 2025
21a0ef2
Started simplifying zodi_mod; fixing various bugs on the way
hke Apr 11, 2025
88c69da
first running version of n+2 mapmaking that doesn't crash
unfunfunt Apr 11, 2025
36d161d
Zodi mod clean-up
hke Apr 14, 2025
9f32525
Removed duplicate function call
hke Apr 15, 2025
47c48ae
fixed version of n+2 mapmaking, running for LFI 30GHz
unfunfunt Apr 29, 2025
cc1f763
Added new HFI single horn parameter files and fixed file read in for …
Apr 30, 2025
767df89
Enabled ptsrc positivity prior
hke May 10, 2025
9deb456
Added support for dust extinction; set EXTINCTION_E(B-V)_MAP = none i…
hke May 13, 2025
30b0289
fixed version of n+2 mapmaking look for LFI
unfunfunt May 19, 2025
7683715
possible fix to python map reading issue
unfunfunt May 19, 2025
c5ee503
possible running n+2 mapmaking with write file output
unfunfunt May 19, 2025
9344a92
possible fix to python map reading issue
unfunfunt May 19, 2025
c2c1acd
Reverted compressed output; enabled detector gains
hke Jun 2, 2025
ec3c856
Merge branch 'hfi' into precond
hke Jun 2, 2025
8a48226
Merge branch 'devel' into precond
hke Jun 17, 2025
da0182b
Merge pull request #212 from Cosmoglobe/precond
hke Jun 17, 2025
46a9649
Add owls 42-46 and owl 38 to cmake
Jun 17, 2025
6cb7336
Fix merge conflics
Jun 17, 2025
33ab34b
Fixed http error with wget
dncnwtts Jun 23, 2025
50f3278
Fixed merge issue
dncnwtts Jun 23, 2025
b7633f3
Minor fixes
hke Jun 24, 2025
c8dc9a2
Merge branch 'precond' of github.com:Cosmoglobe/Commander into precond
hke Jun 24, 2025
4d84cc2
Updated default parameter files to be compatible, as well as updating…
dncnwtts Jun 24, 2025
a6d2b7f
Got rid of annoying c++ compilation warning
dncnwtts Jun 24, 2025
47836a0
Edits for fixing readin
dncnwtts Jun 24, 2025
b468d49
Removed unlabeled write statement
dncnwtts Jun 24, 2025
96d6c84
Fixed merge
hke Jun 25, 2025
dce9989
Fixed initialization issues
dncnwtts Jun 25, 2025
eae3a29
Removed debugging test erroneously left out
dncnwtts Jun 26, 2025
b2cbb41
Explicitly initializing d_calib to zero to avoid nan's later
dncnwtts Jun 29, 2025
3e99472
Added status check for readin, changed call for zipped tod to match W…
dncnwtts Jun 29, 2025
59fe519
Merge branch 'devel' into precond
dncnwtts Jun 29, 2025
fe5a3a9
Fixed merge conflict
dncnwtts Jun 30, 2025
a7c33da
Fixed memory leak in comm_map_mod
hke Aug 20, 2025
13ddb47
Disabled MH step readjustment, and added Duncan's memory leak fix
hke Dec 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ commander3/todscripts/quiet/quiet_qband_beam_instrumental_v1.fits
#---------------------------------------------------------------
commander3/parameter_files/defaults/bands/DIRBE/old
commander3/parameter_files/defaults/bands/DIRBE/old2

4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ all : commander
commander :
@cd commander3/src; $(MAKE)

sharp_test:
@cd commander3/src; $(MAKE) sharp_test

clean :
@cd commander3/src; $(MAKE) clean

37 changes: 6 additions & 31 deletions cmake/compilers/intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,37 +70,28 @@ if (COMMANDER3_Fortran_COMPILER_FLAGS_RELEASE MATCHES "")
"-xHost"
"-fpe0"
"-fPIC"
#"-fp-model=strict"
"-traceback"
"-qopenmp" #<= we are not using it at all, it is redundant
"-assume" "byterecl" # for I/O operations
#"-qopt-matmul" #<= increases linking time but doesn't increase performance
#"-DNDEBUG"
#"-ipo" #
#"-parallel"
"-heap-arrays" "16384"
)
endif()
if(COMMANDER3_Fortran_COMPILER_FLAGS_DEBUG MATCHES "")
list(APPEND COMMANDER3_Fortran_COMPILER_FLAGS_DEBUG
"-O0"
"-g"
"-g"
"-xHost"
"-debug" "all"
"-check" "all,noarg_temp_created"
"-warn" "all,nounused,noexternal"
"-fp-stack-check"
"-fstack-protector-all"
"-debug" "all"
"-check" "all,nouninit"
"-warn" "all,nounused,noexternal"
"-fp-stack-check"
"-fstack-protector-all"
"-traceback"
"-parallel"
"-qopenmp"
"-C"
"-assume" "byterecl"
"-heap-arrays" "16384"
"-fpe0"
"-fPIC"
#"-ftrapuv"
#"-init=snan,arrays"
)
endif()
if(COMMANDER3_Fortran_COMPILER_FLAGS_RELWITHDEBINFO MATCHES "")
Expand All @@ -110,34 +101,18 @@ if(COMMANDER3_Fortran_COMPILER_FLAGS_RELWITHDEBINFO MATCHES "")
"-g"
"-fpe0"
"-fPIC"
#"-fp-model=strict"
"-qopenmp"
"-assume" "byterecl" # for I/O operations
#"-qopt-matmul" #<= increases linking time but doesn't increase performance
"-traceback"
"-heap-arrays" "16384"
#
#"-O2"
#"-g"
#"-traceback"
#"-DNDEBUG"
#"-parallel"
#"-qopenmp"
#"-qopt-matmul"
#"-C"
#"-assume" "byterecl"
#"-fpe0"
#"-fPIC"
)
endif()
if(COMMANDER3_Fortran_COMPILER_FLAGS_MINSIZEREL MATCHES "")
list(APPEND COMMANDER3_Fortran_COMPILER_FLAGS_MINSIZEREL
"-Os"
"-traceback"
"-DNDEBUG"
"-parallel"
"-qopenmp"
"-C"
"-assume" "byterecl"
"-heap-arrays" "16384"
"-fpe0"
Expand Down
6 changes: 6 additions & 0 deletions cmake/projects/commander3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ set(sources
# TOD processing modules
${COMMANDER3_SOURCE_DIR}/comm_tod_noise_psd_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_pixhist_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_driver_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_mapmaking_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_lfi_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_lfi_smod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_hfi_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_hfi_smod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_gain_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_gain_smod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_noise_mod.f90
Expand Down Expand Up @@ -99,6 +101,7 @@ set(sources
${COMMANDER3_SOURCE_DIR}/comm_utils.f90
${COMMANDER3_SOURCE_DIR}/comm_bp_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_f_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_dust_extinction_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_ptsrc_comp_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_zodi_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_zodi_samp_mod.f90
Expand Down Expand Up @@ -130,8 +133,10 @@ set(sources
${COMMANDER3_SOURCE_DIR}/comm_status_mod.f90
${COMMANDER3_SOURCE_DIR}/locate_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_conviqt_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_cray_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_map_mod.f90
${COMMANDER3_SOURCE_DIR}/math_tools.f90
${COMMANDER3_SOURCE_DIR}/comm_sparse_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_cr_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_mbb_comp_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_mbbtab_comp_mod.f90
Expand Down Expand Up @@ -166,6 +171,7 @@ set(sources
${COMMANDER3_SOURCE_DIR}/comm_tod_adc_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_adc_smod.f90
${COMMANDER3_SOURCE_DIR}/comm_ame_lognormal_mod.f90
${COMMANDER3_SOURCE_DIR}/comm_tod_crosstalk_mod.f90
# CAMB
#${COMMANDER3_SOURCE_DIR}/comm_camb_mod.f90
)
Expand Down
17 changes: 6 additions & 11 deletions cmake/projects/healpix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,23 @@ if(COMPILE_HEALPIX)
# Below flags used to configure Libsharp as part of HEALPix
if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
#set(healpix_sharp2_C_FLAGS "-static-intel -O3 -ffast-math -march=native -std=c99 -DUSE_MPI -qopenmp -D__PURE_INTEL_C99_HEADERS__")
#set(healpix_sharp2_C_FLAGS "-static-intel -O3 -ffast-math -std=c99 -DUSE_MPI -qopenmp -D__PURE_INTEL_C99_HEADERS__")
set(healpix_sharp2_C_FLAGS "-static-intel -O3 -ffast-math -mavx2 -std=c99 -DUSE_MPI -qopenmp -D__PURE_INTEL_C99_HEADERS__")
# MPI support, OpenMP, portable binary:
#set(healpix_sharp2_C_FLAGS "-DUSE_MPI -DMULTIARCH -std=c99 -O3 -ffast-math")
if(CMAKE_BUILD_TYPE MATCHES Release)
set(healpix_sharp2_C_FLAGS "-static-intel -O3 -fno-strict-aliasing -march=native -std=c99 -DUSE_MPI -qopenmp -D__PURE_INTEL_C99_HEADERS__")
elseif(CMAKE_BUILD_TYPE MATCHES Debug)
set(healpix_sharp2_C_FLAGS "-static-intel -O0 -g -fno-strict-aliasing -march=native -std=c99 -DUSE_MPI -qopenmp -D__PURE_INTEL_C99_HEADERS__")
endif()
elseif(CMAKE_Fortran_COMPILER_ID MATCHES GNU)
#set(healpix_sharp2_C_FLAGS "-O3 -ffast-math -march=native -std=c99 -DUSE_MPI -fopenmp")
#set(healpix_sharp2_C_FLAGS "-DUSE_MPI -DMULTIARCH -std=c99 -O3 -ffast-math")
set(healpix_sharp2_C_FLAGS "-O3 -ffast-math -mavx2 -std=c99 -DUSE_MPI -fopenmp")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES PGI)
set(healpix_sharp2_C_FLAGS "-O4 -fast -Mipa=fast,inline -Msmartalloc -std=c99 -DUSE_MPI -mp")
#elseif(CMAKE_Fortran_COMPILER_ID MATCHES NVIDIA)
#set(healpix_sharp2_C_FLAGS "-O4 -fast -Mipa=fast,inline -Msmartalloc -std=c99 -DUSE_MPI -mp")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES Flang)
#set(healpix_sharp2_C_FLAGS "-O4 -fast -Mipa=fast,inline -Msmartalloc -std=c99 -DUSE_MPI -mp")
set(healpix_sharp2_C_FLAGS "-DUSE_MPI -DMULTIARCH -std=c99 -O3 -ffast-math")
endif()
#------------------------------------------------------------------------------
# Copying modyfied configure script to healpix root
# Copying modified configure script to healpix root
list(APPEND healpix_copy_configure_script
"${CMAKE_COMMAND}" "-E" "copy"
"${CMAKE_SOURCE_DIR}/cmake/third_party/healpix/hpxconfig_functions.sh"
#"${CMAKE_DOWNLOAD_DIRECTORY}/${project}/src/${project}/hpxconfig_functions.sh"
"${HEALPIX_SOURCE_DIR}/hpxconfig_functions.sh"
#"&&"
)
Expand Down
7 changes: 5 additions & 2 deletions cmake/sources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ set(blas_md5 "5cd5df5a1541ad414f5874aaae17730f")
# FFTW
#------------------------------------------------------------------------------
#set(fftw_url "http://fftw.org/fftw-3.3.8.tar.gz")
set(fftw_url "http://fftw.org/fftw-3.3.9.tar.gz")
set(fftw_url "https://fftw.org/fftw-3.3.9.tar.gz")
#set(fftw_md5 "8aac833c943d8e90d51b697b27d4384d")
set(fftw_md5 "50145bb68a8510b5d77605f11cadf8dc")
#------------------------------------------------------------------------------
Expand All @@ -104,7 +104,10 @@ set(hdf5_md5 "9e22217d22eb568e09f0cc15fb641d7c")
#------------------------------------------------------------------------------
#set(cfitsio_url "http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.47.tar.gz")
#set(cfitsio_url "http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz")
set(cfitsio_url "http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-4.0.0.tar.gz")
set(cfitsio_url "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-4.0.0.tar.gz")
#set(cfitsio_url "http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-4.6.2.tar.gz")
# See https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html for latest
# versions
#------------------------------------------------------------------------------
# HEALPix
#------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion commander3/config/config.ita_oneapi
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export MPCC := mpiicc
export F90FLAGS := -fpe0 -mavx2 -fpp -g -O0 -traceback -assume byterecl -qopenmp -parallel -C

#debug
#
#export F90FLAGS := -O0 -g -C -traceback -assume byterecl -heap-arrays 16384 -qopenmp -parallel -fpe0 -check noarg_temp_created -ftrapuv


Expand Down
6 changes: 5 additions & 1 deletion commander3/parameter_files/defaults/HFI_tod.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ SAMPLE_SIGNAL_AMPLITUDES = .true.
SAMPLE_SPECTRAL_INDICES = .true.
SAMPLE_POWSPEC = .false.

SAMPLE_SOLAR_MAPS = .false.
SAMPLE_MOON_MAPS = .false
SAMPLE_EARTH_MAPS = .false. # Only as a function of elongation

ENABLE_TOD_ANALYSIS = .true.
TOD_OUTPUT_4D_MAP_EVERY_NTH_ITER = 10
TOD_OUTPUT_4D_MAP_EVERY_NTH_ITER = -1
TOD_OUTPUT_AUXILIARY_MAPS_EVERY_NTH_ITER = 10
TOD_INCLUDE_ZODI = .false.
FFTW3_MAGIC_NUMBERS = fft3_magic_numbers_230810.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,15 @@ BAND_TOD_ZODI_SUBTRACTION&&& = .true.
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_01.fits
BAND_TOD_ZODI_EMISSIVITY&&& = 1.d0,1.d0,1.d0,1.d0,1.d0,1.d0
BAND_TOD_ZODI_ALBEDO&&& = 0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none

BAND_TOD_MAPMAKE_TYPE&&& = binned
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ BAND_TOD_HALFRING&&& = 0
BAND_TOD_START_SCANID&&& = 1
BAND_TOD_END_SCANID&&& = 285
BAND_TOD_TOT_NUMSCAN&&& = 285
BAND_TOD_FLAG&&& = 2047 # Don't mask Uranus and Neptune, 8191
BAND_TOD_FLAG&&& = 10239 # All planets except Neptune/Uranus. Also comets
BAND_TOD_ORBITAL_ONLY_ABSCAL&&& =.false.
BAND_TOD_DETECTOR_LIST&&& = 01_A
BAND_TOD_INIT_FROM_HDF&&& = default
Expand All @@ -66,4 +66,16 @@ BAND_TOD_ZODI_SUBTRACTION&&& = .true.
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_01_n512.fits
BAND_TOD_ZODI_EMISSIVITY&&& = 1.d0,1.d0,1.d0,1.d0,1.d0,1.d0
BAND_TOD_ZODI_ALBEDO&&& = 0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0
BAND_TOD_ZODI_REFERENCE_BAND&&&= .false.
BAND_TOD_ZODI_REFERENCE_BAND&&&= .false.

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none

BAND_TOD_MAPMAKE_TYPE&&& = binned
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,13 @@ BAND_TOD_SUBTRACT_ZODI&&& = .true. # if true, the following parameters must be
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_01.fits
BAND_ZODI_EMISSIVITY&&& = 1.d0,1.d0,1.d0,1.d0,1.d0,1.d0
BAND_ZODI_ALBEDO&&& = 0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0,0.20411939612669797d0

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,15 @@ BAND_TOD_ZODI_SUBTRACTION&&& = .true.
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_02.fits
BAND_TOD_ZODI_EMISSIVITY&&& = 1.d0,1.d0,1.d0,1.d0,1.d0,1.d0
BAND_TOD_ZODI_ALBEDO&&& = 0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none

BAND_TOD_MAPMAKE_TYPE&&& = binned
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,13 @@ BAND_TOD_SUBTRACT_ZODI&&& = .true. # if true, the following parameters must be
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_02_n512.fits
BAND_ZODI_EMISSIVITY&&& = 1.d0,1.d0,1.d0,1.d0,1.d0,1.d0
BAND_ZODI_ALBEDO&&& = 0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ BAND_TOD_HALFRING&&& = 0
BAND_TOD_START_SCANID&&& = 1
BAND_TOD_END_SCANID&&& = 285
BAND_TOD_TOT_NUMSCAN&&& = 285
BAND_TOD_FLAG&&& = 2047 # Don't mask Uranus and Neptune, 8191
BAND_TOD_FLAG&&& = 10239 # All planets except Neptune/Uranus. Also comets
BAND_TOD_ORBITAL_ONLY_ABSCAL&&& =.false.
BAND_TOD_DETECTOR_LIST&&& = 02_A
BAND_TOD_INIT_FROM_HDF&&& = default
Expand All @@ -66,4 +66,16 @@ BAND_TOD_ZODI_SUBTRACTION&&& = .true.
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_02_n512.fits
BAND_TOD_ZODI_EMISSIVITY&&& = 1.d0,1.d0,1.d0,1.d0,1.d0,1.d0
BAND_TOD_ZODI_ALBEDO&&& = 0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0,0.25521132892052301d0
BAND_TOD_ZODI_REFERENCE_BAND&&&= .false.
BAND_TOD_ZODI_REFERENCE_BAND&&&= .false.

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none

BAND_TOD_MAPMAKE_TYPE&&& = binned
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,15 @@ BAND_TOD_ZODI_SUBTRACTION&&& = .true.
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_03.fits
BAND_TOD_ZODI_EMISSIVITY&&& = 1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0
BAND_TOD_ZODI_ALBEDO&&& = 0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none

BAND_TOD_MAPMAKE_TYPE&&& = binned
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ BAND_TOD_HALFRING&&& = 0
BAND_TOD_START_SCANID&&& = 1
BAND_TOD_END_SCANID&&& = 285
BAND_TOD_TOT_NUMSCAN&&& = 285
BAND_TOD_FLAG&&& = 2047 # Don't mask Uranus and Neptune, 8191
BAND_TOD_FLAG&&& = 10239 # All planets except Neptune/Uranus. Also comets
BAND_TOD_ORBITAL_ONLY_ABSCAL&&& =.false.
BAND_TOD_DETECTOR_LIST&&& = 03_A
BAND_TOD_INIT_FROM_HDF&&& = default
Expand All @@ -67,4 +67,16 @@ BAND_TOD_ZODI_SUBTRACTION&&& = .true.
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_03_n512.fits
BAND_TOD_ZODI_EMISSIVITY&&& = 1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0
BAND_TOD_ZODI_ALBEDO&&& = 0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0
BAND_TOD_ZODI_REFERENCE_BAND&&&= .false.
BAND_TOD_ZODI_REFERENCE_BAND&&&= .false.

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none

BAND_TOD_MAPMAKE_TYPE&&& = binned
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,13 @@ BAND_TOD_SUBTRACT_ZODI&&& = .true. # if true, the following parameters must be
BAND_TOD_ZODI_MASK&&& = zodi_proc_mask_03.fits
BAND_ZODI_EMISSIVITY&&& = 1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0,1.6598924040649741d0
BAND_ZODI_ALBEDO&&& = 0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0,0.21043660481632315d0

BAND_TOD_SOLAR_CENTRIC_MODEL&&& = none
BAND_TOD_SOLAR_CENTRIC_MASK&&& = none
BAND_TOD_SOLAR_CENTRIC_INITMAP&&& = none
BAND_TOD_MOON_CENTRIC_MODEL&&& = none
BAND_TOD_MOON_CENTRIC_MASK&&& = none
BAND_TOD_MOON_CENTRIC_INITMAP&&& = none
BAND_TOD_EARTH_CENTRIC_MODEL&&& = none
BAND_TOD_EARTH_CENTRIC_MASK&&& = none
BAND_TOD_EARTH_CENTRIC_INITMAP&&& = none
Loading