Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/RELEASE_next_patch' into RELEA…
Browse files Browse the repository at this point in the history
…SE_next_minor

# Conflicts:
#	hyperspy/external/mpfit/mpfitexpr.py
#	hyperspy/tests/axes/test_conversion_units.py
#	setup.py
  • Loading branch information
ericpre committed Jan 18, 2022
2 parents 90dcddd + f0c09cc commit bf6602b
Show file tree
Hide file tree
Showing 365 changed files with 2,091 additions and 2,081 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- os: ubuntu
PYTHON_VERSION: 3.7
OLDEST_SUPPORTED_VERSION: true
DEPENDENCIES: matplotlib==3.1.3 numpy==1.17.1 scipy==1.1 imagecodecs==2020.1.31 tifffile==2020.2.16 dask==2.11.0 distributed==2.11.0 scikit-image==0.15
DEPENDENCIES: matplotlib==3.1.3 numpy==1.17.1 scipy==1.1 imagecodecs==2020.1.31 tifffile==2020.2.16 dask==2.11.0 distributed==2.11.0 scikit-image==0.15 numba==0.52
PIP_SELECTOR: '[all, tests, coverage]'
PYTEST_ARGS_COVERAGE: --cov=. --cov-report=xml
LABEL: -oldest
Expand Down
1 change: 1 addition & 0 deletions conda_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- h5py
- imageio
- ipyparallel
- ipython !=8.0
- matplotlib-base
- matplotlib-scalebar
- mrcz
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/Release.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

name = 'hyperspy'

Expand Down
12 changes: 6 additions & 6 deletions hyperspy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import logging

Expand Down
2 changes: 1 addition & 1 deletion hyperspy/_components/arctan.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
#
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/bleasdale.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import numpy as np

Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/doniach.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy is free software: you can redistribute it and/or modify
# it under the terms of GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import math
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion hyperspy/_components/eels_arctan.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
#
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/eels_cl_edge.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.


import math
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/eels_double_power_law.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import numpy as np

Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/eels_vignetting.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import numpy as np
from hyperspy.component import Component
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/error_function.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

from hyperspy._components.expression import Expression
from packaging.version import Version
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/exponential.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import numpy as np
import logging
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/expression.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

from functools import wraps
import numpy as np
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/gaussian.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import math

Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/gaussian2d.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import math
import numpy as np
Expand Down
12 changes: 6 additions & 6 deletions hyperspy/_components/gaussianhf.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2007-2021 The HyperSpy developers
# Copyright 2007-2022 The HyperSpy developers
#
# This file is part of HyperSpy.
# This file is part of HyperSpy.
#
# HyperSpy is free software: you can redistribute it and/or modify
# HyperSpy 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.
#
# HyperSpy is distributed in the hope that it will be useful,
# HyperSpy 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
# 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 HyperSpy. If not, see <http://www.gnu.org/licenses/>.
# along with HyperSpy. If not, see <http://www.gnu.org/licenses/>.

import math

Expand Down

0 comments on commit bf6602b

Please sign in to comment.