Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Reinecke
ducc
Commits
2f8824fe
Commit
2f8824fe
authored
Jun 16, 2020
by
Martin Reinecke
Browse files
copyright notices
parent
4acecb8a
Pipeline
#76645
passed with stages
in 16 minutes and 5 seconds
Changes
19
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
312 additions
and
0 deletions
+312
-0
python/alm.h
python/alm.h
+16
-0
python/demos/fft_bench.py
python/demos/fft_bench.py
+16
-0
python/demos/fft_stress.py
python/demos/fft_stress.py
+16
-0
python/demos/healpix_perftest.py
python/demos/healpix_perftest.py
+16
-0
python/demos/healpix_test.py
python/demos/healpix_test.py
+16
-0
python/demos/sht_demo.py
python/demos/sht_demo.py
+15
-0
python/demos/sht_upsample_demo.py
python/demos/sht_upsample_demo.py
+16
-0
python/demos/totalconvolve_accuracy.py
python/demos/totalconvolve_accuracy.py
+16
-0
python/demos/totalconvolve_demo.py
python/demos/totalconvolve_demo.py
+16
-0
python/demos/totalconvolve_usage.py
python/demos/totalconvolve_usage.py
+16
-0
python/test/test_fft.py
python/test/test_fft.py
+16
-0
python/test/test_healpix.py
python/test/test_healpix.py
+16
-0
python/test/test_sht.py
python/test/test_sht.py
+16
-0
python/test/test_totalconvolve.py
python/test/test_totalconvolve.py
+16
-0
python/test/test_wgridder.py
python/test/test_wgridder.py
+16
-0
python/totalconvolve.cc
python/totalconvolve.cc
+16
-0
python/totalconvolve.h
python/totalconvolve.h
+16
-0
src/ducc0/bindings/pybind_utils.h
src/ducc0/bindings/pybind_utils.h
+20
-0
src/ducc0/infra/communication.cc
src/ducc0/infra/communication.cc
+21
-0
No files found.
python/alm.h
View file @
2f8824fe
/*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this code; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*! \file alm.h
/*! \file alm.h
* Class for storing spherical harmonic coefficients.
* Class for storing spherical harmonic coefficients.
*
*
...
...
python/demos/fft_bench.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2019-2020 Max-Planck-Society
import
numpy
as
np
import
numpy
as
np
import
ducc0.fft
as
duccfft
import
ducc0.fft
as
duccfft
from
time
import
time
from
time
import
time
...
...
python/demos/fft_stress.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2019-2020 Max-Planck-Society
import
numpy
as
np
import
numpy
as
np
import
ducc0.fft
as
fft
import
ducc0.fft
as
fft
...
...
python/demos/healpix_perftest.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2019-2020 Max-Planck-Society
import
time
import
time
import
numpy
as
np
import
numpy
as
np
import
ducc0.healpix
as
ph
import
ducc0.healpix
as
ph
...
...
python/demos/healpix_test.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2019-2020 Max-Planck-Society
import
ducc0.healpix
as
ph
import
ducc0.healpix
as
ph
import
numpy
as
np
import
numpy
as
np
...
...
python/demos/sht_demo.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
# Elementary demo for the ducc0.sht interface using a Gauss-Legendre grid
# Elementary demo for the ducc0.sht interface using a Gauss-Legendre grid
# I'm not sure I have a perfect equivalent for the DH grid(s) at the moment,
# I'm not sure I have a perfect equivalent for the DH grid(s) at the moment,
# since they apparently do not include the South Pole. The Clenshaw-Curtis
# since they apparently do not include the South Pole. The Clenshaw-Curtis
...
...
python/demos/sht_upsample_demo.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
import
ducc0.sht
as
sht
import
ducc0.sht
as
sht
import
ducc0.misc
as
misc
import
ducc0.misc
as
misc
import
numpy
as
np
import
numpy
as
np
...
...
python/demos/totalconvolve_accuracy.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
import
ducc0.totalconvolve
as
totalconvolve
import
ducc0.totalconvolve
as
totalconvolve
import
numpy
as
np
import
numpy
as
np
import
ducc0.sht
as
sht
import
ducc0.sht
as
sht
...
...
python/demos/totalconvolve_demo.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
import
ducc0.totalconvolve
as
totalconvolve
import
ducc0.totalconvolve
as
totalconvolve
import
numpy
as
np
import
numpy
as
np
import
time
import
time
...
...
python/demos/totalconvolve_usage.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
# Short usage demo for the interpol_ng module
# Short usage demo for the interpol_ng module
import
ducc0.totalconvolve
as
totalconvolve
import
ducc0.totalconvolve
as
totalconvolve
...
...
python/test/test_fft.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
import
ducc0.fft
as
fft
import
ducc0.fft
as
fft
# import pyfftw
# import pyfftw
import
numpy
as
np
import
numpy
as
np
...
...
python/test/test_healpix.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
import
ducc0.healpix
as
ph
import
ducc0.healpix
as
ph
import
numpy
as
np
import
numpy
as
np
import
math
import
math
...
...
python/test/test_sht.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
import
ducc0.sht
as
sht
import
ducc0.sht
as
sht
import
numpy
as
np
import
numpy
as
np
import
pytest
import
pytest
...
...
python/test/test_totalconvolve.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
import
numpy
as
np
import
numpy
as
np
import
pytest
import
pytest
from
numpy.testing
import
assert_
from
numpy.testing
import
assert_
...
...
python/test/test_wgridder.py
View file @
2f8824fe
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2020 Max-Planck-Society
import
ducc0.wgridder
as
ng
import
ducc0.wgridder
as
ng
import
numpy
as
np
import
numpy
as
np
import
pytest
import
pytest
...
...
python/totalconvolve.cc
View file @
2f8824fe
/*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this code; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
/*
* Copyright (C) 2020 Max-Planck-Society
* Copyright (C) 2020 Max-Planck-Society
* Author: Martin Reinecke
* Author: Martin Reinecke
...
...
python/totalconvolve.h
View file @
2f8824fe
/*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this code; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
/*
* Copyright (C) 2020 Max-Planck-Society
* Copyright (C) 2020 Max-Planck-Society
* Author: Martin Reinecke
* Author: Martin Reinecke
...
...
src/ducc0/bindings/pybind_utils.h
View file @
2f8824fe
/*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this code; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/* Copyright (C) 2020 Max-Planck-Society
Author: Martin Reinecke */
#ifndef DUCC0_PYBIND_UTILS_H
#ifndef DUCC0_PYBIND_UTILS_H
#define DUCC0_PYBIND_UTILS_H
#define DUCC0_PYBIND_UTILS_H
...
...
src/ducc0/infra/communication.cc
View file @
2f8824fe
/*
* This code is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this code; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* Copyright (C) 2020 Max-Planck-Society
* Author: Martin Reinecke
*/
#include <cstdlib>
#include <cstdlib>
#include <cstring>
#include <cstring>
#include <numeric>
#include <numeric>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment