Skip to content

Commit

Permalink
deprecation: CalibrationDataLibrary, closes pyxem#1041
Browse files Browse the repository at this point in the history
  • Loading branch information
pc494 committed Mar 22, 2024
1 parent fa939ca commit dfe35f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyxem/libraries/calibration_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with pyXem. If not, see <http://www.gnu.org/licenses/>.

from pyxem.utils._deprecated import deprecated

class CalibrationDataLibrary(dict):
"""Maps crystal structure (phase) to diffraction vectors.
Expand All @@ -28,7 +29,7 @@ class CalibrationDataLibrary(dict):
An image of an Au X-grating standard.
"""

@deprecated(since='0.18.0', removal='0.20.0')
def __init__(
self, au_x_grating_dp=None, au_x_grating_im=None, moo3_dp=None, moo3_im=None
):
Expand Down

0 comments on commit dfe35f3

Please sign in to comment.