diff --git a/rsciio/__init__.py b/rsciio/__init__.py index a9cb8a063..9f436f212 100644 --- a/rsciio/__init__.py +++ b/rsciio/__init__.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- -# Copyright 2007-2016 The HyperSpy developers +# Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import logging import yaml diff --git a/rsciio/_hierarchical.py b/rsciio/_hierarchical.py index 4614d2e03..bc3afe49c 100644 --- a/rsciio/_hierarchical.py +++ b/rsciio/_hierarchical.py @@ -1,3 +1,21 @@ +# -*- coding: utf-8 -*- +# Copyright 2007-2022 The HyperSpy developers +# +# This file is part of RosettaSciIO. +# +# RosettaSciIO 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. +# +# RosettaSciIO 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 RosettaSciIO. If not, see . + import ast import datetime import logging diff --git a/rsciio/blockfile/api.py b/rsciio/blockfile/api.py index 2580d016a..e0639f994 100644 --- a/rsciio/blockfile/api.py +++ b/rsciio/blockfile/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os import logging diff --git a/rsciio/dens/api.py b/rsciio/dens/api.py index a5e928c04..a2163566e 100644 --- a/rsciio/dens/api.py +++ b/rsciio/dens/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import numpy as np diff --git a/rsciio/digital_micrograph/api.py b/rsciio/digital_micrograph/api.py index e003cfd24..aa3246674 100644 --- a/rsciio/digital_micrograph/api.py +++ b/rsciio/digital_micrograph/api.py @@ -1,22 +1,22 @@ # -*- coding: utf-8 -*- # Copyright 2010 Stefano Mazzucco -# Copyright 2011-2020 The HyperSpy developers +# Copyright 2011-2022 The HyperSpy developers # -# This file is part of HyperSpy. It is a fork of the original PIL dm3 plugin +# This file is part of RosettaSciIO. It is a fork of the original PIL dm3 plugin # written by Stefano Mazzucco. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # Plugin to read the Gatan Digital Micrograph(TM) file format diff --git a/rsciio/edax/api.py b/rsciio/edax/api.py index 13d7cac60..aa4e943a2 100644 --- a/rsciio/edax/api.py +++ b/rsciio/edax/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # The details of the format were taken from # https://www.biochem.mpg.de/doc_tom/TOM_Release_2008/IOfun/tom_mrcread.html diff --git a/rsciio/emd/api.py b/rsciio/emd/api.py index 03e33ed2d..7c7f9b0e9 100644 --- a/rsciio/emd/api.py +++ b/rsciio/emd/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # The EMD format is a hdf5 standard proposed at Lawrence Berkeley # National Lab (see https://emdatasets.com/ for more information). diff --git a/rsciio/empad/api.py b/rsciio/empad/api.py index ff5cb6b16..501d59e04 100644 --- a/rsciio/empad/api.py +++ b/rsciio/empad/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os import ast diff --git a/rsciio/exceptions.py b/rsciio/exceptions.py index f6d8a8f7e..2736b758b 100644 --- a/rsciio/exceptions.py +++ b/rsciio/exceptions.py @@ -1,3 +1,22 @@ +# -*- coding: utf-8 -*- +# Copyright 2007-2022 The HyperSpy developers +# +# This file is part of RosettaSciIO. +# +# RosettaSciIO 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. +# +# RosettaSciIO 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 RosettaSciIO. If not, see . + + class MountainsMapFileError(Exception): def __init__(self, msg="Corrupt Mountainsmap file"): self.error = msg diff --git a/rsciio/fei/api.py b/rsciio/fei/api.py index 87feadceb..605f24b75 100644 --- a/rsciio/fei/api.py +++ b/rsciio/fei/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import struct import warnings diff --git a/rsciio/hspy/api.py b/rsciio/hspy/api.py index 20bc7fc9e..8871f6155 100644 --- a/rsciio/hspy/api.py +++ b/rsciio/hspy/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import logging from packaging.version import Version diff --git a/rsciio/image/api.py b/rsciio/image/api.py index 5fe67ae12..1cdf45da1 100644 --- a/rsciio/image/api.py +++ b/rsciio/image/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os import logging diff --git a/rsciio/jeol/api.py b/rsciio/jeol/api.py index b2ade84f4..5c9ed586f 100644 --- a/rsciio/jeol/api.py +++ b/rsciio/jeol/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os from collections.abc import Iterable diff --git a/rsciio/mrc/api.py b/rsciio/mrc/api.py index 6e1d942a4..1e8e3d762 100644 --- a/rsciio/mrc/api.py +++ b/rsciio/mrc/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # The details of the format were taken from # https://www.biochem.mpg.de/doc_tom/TOM_Release_2008/IOfun/tom_mrcread.html diff --git a/rsciio/mrcz/api.py b/rsciio/mrcz/api.py index 6e489da02..7e7953136 100644 --- a/rsciio/mrcz/api.py +++ b/rsciio/mrcz/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . from packaging.version import Version import mrcz as _mrcz diff --git a/rsciio/msa/api.py b/rsciio/msa/api.py index 9d9fcaef5..4915ad6ce 100644 --- a/rsciio/msa/api.py +++ b/rsciio/msa/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . from datetime import datetime as dt import codecs diff --git a/rsciio/netcdf/api.py b/rsciio/netcdf/api.py index 45139c6df..ac9d2bb32 100644 --- a/rsciio/netcdf/api.py +++ b/rsciio/netcdf/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os import logging diff --git a/rsciio/nexus/api.py b/rsciio/nexus/api.py index 9b7aa159f..e7d2ab4b8 100644 --- a/rsciio/nexus/api.py +++ b/rsciio/nexus/api.py @@ -2,20 +2,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # import logging import warnings diff --git a/rsciio/phenom/api.py b/rsciio/phenom/api.py index 02e921467..1b61d6679 100644 --- a/rsciio/phenom/api.py +++ b/rsciio/phenom/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # # # Install this as hyperspy/io_plugins/phenom.py diff --git a/rsciio/protochips/api.py b/rsciio/protochips/api.py index bb9f57412..2d201bc3e 100644 --- a/rsciio/protochips/api.py +++ b/rsciio/protochips/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import numpy as np diff --git a/rsciio/prz/api.py b/rsciio/prz/api.py index 8816e995f..20d256e62 100644 --- a/rsciio/prz/api.py +++ b/rsciio/prz/api.py @@ -2,20 +2,20 @@ # Copyright 2022 CEOS GmbH # Copyright 2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . from datetime import datetime as dt diff --git a/rsciio/ripple/api.py b/rsciio/ripple/api.py index 139163464..b29d8b146 100644 --- a/rsciio/ripple/api.py +++ b/rsciio/ripple/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # for more information on the RPL/RAW format, see # https://www.nist.gov/services-resources/software/lispix diff --git a/rsciio/semper_unf/api.py b/rsciio/semper_unf/api.py index 68ffeef9b..df530da28 100644 --- a/rsciio/semper_unf/api.py +++ b/rsciio/semper_unf/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # INFORMATION ABOUT THE SEMPER FORMAT LABEL: # Picture labels consist of a sequence of bytes diff --git a/rsciio/sur/api.py b/rsciio/sur/api.py index c327031b7..a33109c1e 100644 --- a/rsciio/sur/api.py +++ b/rsciio/sur/api.py @@ -1,19 +1,20 @@ # -*- coding: utf-8 -*- +# Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # Plugin to read the mountainsmap surface format (sur) # Current state can bring support to the surface format if the file is an diff --git a/rsciio/tests/__init__.py b/rsciio/tests/__init__.py index 71c826e43..a7fe23e7b 100644 --- a/rsciio/tests/__init__.py +++ b/rsciio/tests/__init__.py @@ -1,17 +1,17 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . diff --git a/rsciio/tests/generate_dm_testing_files.py b/rsciio/tests/generate_dm_testing_files.py index b64f6519b..4fac7a480 100644 --- a/rsciio/tests/generate_dm_testing_files.py +++ b/rsciio/tests/generate_dm_testing_files.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . """Creates Digital Micrograph scripts to generate the dm3 testing files """ diff --git a/rsciio/tests/test_blockfile.py b/rsciio/tests/test_blockfile.py index 5e6103a82..769d46ce1 100644 --- a/rsciio/tests/test_blockfile.py +++ b/rsciio/tests/test_blockfile.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import gc diff --git a/rsciio/tests/test_de5.py b/rsciio/tests/test_de5.py index c57383bfb..4e6fc383d 100644 --- a/rsciio/tests/test_de5.py +++ b/rsciio/tests/test_de5.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # The EMD format is a hdf5 standard proposed at Lawrence Berkeley diff --git a/rsciio/tests/test_dens.py b/rsciio/tests/test_dens.py index 3e3f22155..7ae05561f 100644 --- a/rsciio/tests/test_dens.py +++ b/rsciio/tests/test_dens.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_dm3.py b/rsciio/tests/test_dm3.py index bcd238592..6cc1d626f 100644 --- a/rsciio/tests/test_dm3.py +++ b/rsciio/tests/test_dm3.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import json diff --git a/rsciio/tests/test_dm_stackbuilder_plugin.py b/rsciio/tests/test_dm_stackbuilder_plugin.py index f35cd92cf..2a6a2a7ff 100644 --- a/rsciio/tests/test_dm_stackbuilder_plugin.py +++ b/rsciio/tests/test_dm_stackbuilder_plugin.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_emd.py b/rsciio/tests/test_emd.py index c2d0d6cfb..28301dc18 100644 --- a/rsciio/tests/test_emd.py +++ b/rsciio/tests/test_emd.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . # The EMD format is a hdf5 standard proposed at Lawrence Berkeley diff --git a/rsciio/tests/test_emd_prismatic.py b/rsciio/tests/test_emd_prismatic.py index 30e32cc49..26ba46711 100644 --- a/rsciio/tests/test_emd_prismatic.py +++ b/rsciio/tests/test_emd_prismatic.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_empad.py b/rsciio/tests/test_empad.py index d20ec6fd4..0583f2aa3 100644 --- a/rsciio/tests/test_empad.py +++ b/rsciio/tests/test_empad.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_fei.py b/rsciio/tests/test_fei.py index 953ab16a6..d369b4d99 100644 --- a/rsciio/tests/test_fei.py +++ b/rsciio/tests/test_fei.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_fei_stream_readers.py b/rsciio/tests/test_fei_stream_readers.py index 4deab70b9..08a2bff24 100644 --- a/rsciio/tests/test_fei_stream_readers.py +++ b/rsciio/tests/test_fei_stream_readers.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . """Test the FEI stream readers. diff --git a/rsciio/tests/test_hdf5.py b/rsciio/tests/test_hdf5.py index 179618980..cfb9e06bf 100644 --- a/rsciio/tests/test_hdf5.py +++ b/rsciio/tests/test_hdf5.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import logging from pathlib import Path diff --git a/rsciio/tests/test_image.py b/rsciio/tests/test_image.py index 48d69935c..b35d9981a 100644 --- a/rsciio/tests/test_image.py +++ b/rsciio/tests/test_image.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import numpy as np import pytest diff --git a/rsciio/tests/test_impulse.py b/rsciio/tests/test_impulse.py index 309e4596a..bdcd0f569 100644 --- a/rsciio/tests/test_impulse.py +++ b/rsciio/tests/test_impulse.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_io.py b/rsciio/tests/test_io.py index 59f4f2518..bf1238dfd 100644 --- a/rsciio/tests/test_io.py +++ b/rsciio/tests/test_io.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import hashlib import os diff --git a/rsciio/tests/test_jeol.py b/rsciio/tests/test_jeol.py index 345ce396c..1c5b581e2 100644 --- a/rsciio/tests/test_jeol.py +++ b/rsciio/tests/test_jeol.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import gc from pathlib import Path diff --git a/rsciio/tests/test_mrcz.py b/rsciio/tests/test_mrcz.py index 4747ca573..6511ac43e 100644 --- a/rsciio/tests/test_mrcz.py +++ b/rsciio/tests/test_mrcz.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os import tempfile diff --git a/rsciio/tests/test_nexus_hdf.py b/rsciio/tests/test_nexus_hdf.py index 4d28ea206..7e3ca699b 100644 --- a/rsciio/tests/test_nexus_hdf.py +++ b/rsciio/tests/test_nexus_hdf.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os.path diff --git a/rsciio/tests/test_panta_rhei.py b/rsciio/tests/test_panta_rhei.py index b2ee34b43..168b969d8 100644 --- a/rsciio/tests/test_panta_rhei.py +++ b/rsciio/tests/test_panta_rhei.py @@ -1,17 +1,20 @@ -# This file is part of HyperSpy. +# -*- coding: utf-8 -*- +# Copyright 2007-2022 The HyperSpy developers # -# HyperSpy is free software: you can redistribute it and/or modify +# This file is part of RosettaSciIO. +# +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . from pathlib import Path diff --git a/rsciio/tests/test_phenom.py b/rsciio/tests/test_phenom.py index 273130ed0..77d7ac674 100644 --- a/rsciio/tests/test_phenom.py +++ b/rsciio/tests/test_phenom.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_protochips.py b/rsciio/tests/test_protochips.py index e2a7f0a50..aaba834dd 100644 --- a/rsciio/tests/test_protochips.py +++ b/rsciio/tests/test_protochips.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_semper_unf.py b/rsciio/tests/test_semper_unf.py index 6851ce9fc..14660f210 100644 --- a/rsciio/tests/test_semper_unf.py +++ b/rsciio/tests/test_semper_unf.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os.path import tempfile diff --git a/rsciio/tests/test_sur.py b/rsciio/tests/test_sur.py index 71283a866..548f2a463 100644 --- a/rsciio/tests/test_sur.py +++ b/rsciio/tests/test_sur.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os diff --git a/rsciio/tests/test_tvips.py b/rsciio/tests/test_tvips.py index 8790f7043..291a62ac4 100644 --- a/rsciio/tests/test_tvips.py +++ b/rsciio/tests/test_tvips.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import gc diff --git a/rsciio/tests/test_zspy.py b/rsciio/tests/test_zspy.py index 6611eb0fe..abac646e3 100644 --- a/rsciio/tests/test_zspy.py +++ b/rsciio/tests/test_zspy.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import numpy as np import logging diff --git a/rsciio/tests/utils/__init__.py b/rsciio/tests/utils/__init__.py index 71c826e43..a7fe23e7b 100644 --- a/rsciio/tests/utils/__init__.py +++ b/rsciio/tests/utils/__init__.py @@ -1,17 +1,17 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . diff --git a/rsciio/tests/utils/test_rgbtools.py b/rsciio/tests/utils/test_rgbtools.py index 623133f8e..67834bdcf 100644 --- a/rsciio/tests/utils/test_rgbtools.py +++ b/rsciio/tests/utils/test_rgbtools.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import numpy as np diff --git a/rsciio/tiff/api.py b/rsciio/tiff/api.py index 98b18364c..1d145bb75 100644 --- a/rsciio/tiff/api.py +++ b/rsciio/tiff/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import csv from datetime import datetime, timedelta diff --git a/rsciio/tvips/api.py b/rsciio/tvips/api.py index f949a1893..57ed9db10 100644 --- a/rsciio/tvips/api.py +++ b/rsciio/tvips/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import os import re diff --git a/rsciio/utils/date_time_tools.py b/rsciio/utils/date_time_tools.py index 8a4c4f05d..3e9202622 100644 --- a/rsciio/utils/date_time_tools.py +++ b/rsciio/utils/date_time_tools.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import datetime from dateutil import tz, parser diff --git a/rsciio/utils/fei_stream_readers.py b/rsciio/utils/fei_stream_readers.py index 744a29d4c..4910877b0 100644 --- a/rsciio/utils/fei_stream_readers.py +++ b/rsciio/utils/fei_stream_readers.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import numpy as np import dask.array as da diff --git a/rsciio/utils/rgb_tools.py b/rsciio/utils/rgb_tools.py index b8307ebf7..933f305b4 100644 --- a/rsciio/utils/rgb_tools.py +++ b/rsciio/utils/rgb_tools.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import numpy as np from dask.array import Array diff --git a/rsciio/utils/tools.py b/rsciio/utils/tools.py index aff7936fa..f9bce6efa 100644 --- a/rsciio/utils/tools.py +++ b/rsciio/utils/tools.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import logging diff --git a/rsciio/utils/utils_readfile.py b/rsciio/utils/utils_readfile.py index 45f264631..fede071ae 100644 --- a/rsciio/utils/utils_readfile.py +++ b/rsciio/utils/utils_readfile.py @@ -15,7 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with HyperSpy; if not, write to the Free Software +# along with RosettaSciIO; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 # USA diff --git a/rsciio/zspy/api.py b/rsciio/zspy/api.py index 62845ac4f..b800aa635 100644 --- a/rsciio/zspy/api.py +++ b/rsciio/zspy/api.py @@ -1,20 +1,20 @@ # -*- coding: utf-8 -*- # Copyright 2007-2022 The HyperSpy developers # -# This file is part of HyperSpy. +# This file is part of RosettaSciIO. # -# HyperSpy is free software: you can redistribute it and/or modify +# RosettaSciIO 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, +# RosettaSciIO 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 HyperSpy. If not, see . +# along with RosettaSciIO. If not, see . import logging from collections.abc import MutableMapping