Commit 7aacaebe authored by Martin Reinecke's avatar Martin Reinecke
Browse files

ducc_0_1 -> ducc0

parent c5b702ab
Pipeline #76417 passed with stages
in 13 minutes and 13 seconds
......@@ -50,16 +50,16 @@ an interface changes in a manner that is not backwards compatible, the DUCC
version number will increase. As a consequence it might happen that one part of
a Python code may use an older version of DUCC while at the same time another
part requires a newer version. Since DUCC's version number is included in the
module name itself (the module is not called "ducc", but rather "ducc_x_y"),
module name itself (the module is not called "ducc", but rather "ducc<X>"),
this is not a problem, as multiple DUCC versions can be installed
simultaneously.
The latest patch levels of a given DUCC version will always be available at the
HEAD of the git branch with the respective name. In other words, if you need
the latest incarnation of DUCC 0.1, this will be on branch "ducc_0_1" of the
git repository, and it will be installed as the package "ducc_0_1".
Later versions (like ducc_0_2 or ducc_1_0) will be maintained on new branches
and will be installed as "ducc_0_2" and "ducc_1_0", so that there will be no
conflict with potentially installed older versions.
the latest incarnation of DUCC 0.1, this will be on branch "ducc0" of the
git repository, and it will be installed as the package "ducc0".
Later versions will be maintained on new branches and will be installed as
"ducc1" and "ducc2", so that there will be no conflict with potentially
installed older versions.
DUCC components
......
import numpy as np
import ducc_0_1.fft as duccfft
import ducc0.fft as duccfft
from time import time
import matplotlib.pyplot as plt
......
import numpy as np
import ducc_0_1.fft as fft
import ducc0.fft as fft
rng = np.random.default_rng(42)
......
import time
import math
import numpy as np
import ducc_0_1.healpix as ph
import ducc0.healpix as ph
rng = np.random.default_rng(42)
......
import ducc_0_1.healpix as ph
import ducc0.healpix as ph
import numpy as np
import math
......
# Elementary demo for the ducc_0_1.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,
# since they apparently do not include the South Pole. The Clenshaw-Curtis
# and Fejer quadrature rules are very similar (see the documentation in
# sharp_geomhelpers.h). An exact analogon to DH can be added easily, I expect.
import ducc_0_1.sht as sht
import ducc0.sht as sht
import numpy as np
from time import time
......
import ducc_0_1.sht as sht
import ducc_0_1.misc as misc
import ducc0.sht as sht
import ducc0.misc as misc
import numpy as np
from time import time
......
import ducc_0_1.totalconvolve as totalconvolve
import ducc0.totalconvolve as totalconvolve
import numpy as np
import ducc_0_1.sht as sht
import ducc_0_1.misc as misc
import ducc0.sht as sht
import ducc0.misc as misc
import time
import matplotlib.pyplot as plt
......
import ducc_0_1.totalconvolve as totalconvolve
import ducc0.totalconvolve as totalconvolve
import numpy as np
import time
......
# Short usage demo for the interpol_ng module
import ducc_0_1.totalconvolve as totalconvolve
import ducc0.totalconvolve as totalconvolve
import numpy as np
......
import ducc_0_1.fft as fft
import ducc0.fft as fft
# import pyfftw
import numpy as np
import pytest
......
import ducc_0_1.healpix as ph
import ducc0.healpix as ph
import numpy as np
import math
import pytest
......
import ducc_0_1.sht as sht
import ducc0.sht as sht
import numpy as np
import math
import pytest
......
import numpy as np
import pytest
from numpy.testing import assert_
import ducc_0_1.totalconvolve as totalconvolve
import ducc_0_1.sht as sht
import ducc_0_1.misc as misc
import ducc0.totalconvolve as totalconvolve
import ducc0.sht as sht
import ducc0.misc as misc
pmp = pytest.mark.parametrize
......
import ducc_0_1.wgridder as ng
import ducc0.wgridder as ng
import numpy as np
import pytest
from numpy.testing import assert_, assert_allclose, assert_array_almost_equal
......
......@@ -6,7 +6,7 @@ from glob import iglob
from setuptools import setup, Extension
import pybind11
pkgname = 'ducc_0_1'
pkgname = 'ducc0'
version = '0.1.0'
def _get_files_by_suffix(directory, suffix):
......@@ -69,7 +69,7 @@ extensions = [Extension(pkgname,
setup(name=pkgname,
version=version,
description='Definitely useful code collection',
description='Distinctly useful code collection',
url='https://gitlab.mpcdf.mpg.de/mtr/ducc',
include_package_data=True,
author='Martin Reinecke',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment