feat: added __slots__ to Corr class. (#155)

This commit is contained in:
Fabian Joswig 2023-02-27 10:23:02 +00:00 committed by GitHub
parent a2ed2653c6
commit a33c0a205a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,8 @@ class Corr:
"""
__slots__ = ["content", "N", "T", "tag", "prange"]
def __init__(self, data_input, padding=[0, 0], prange=None):
""" Initialize a Corr object.