diff --git a/binarycpython/utils/functions.py b/binarycpython/utils/functions.py index 9c304b5577e0d3ae850314cc51bb15d45810f6de..2db16b859d5c6e7bf87d2b95f0a1a78b3f9eefd2 100644 --- a/binarycpython/utils/functions.py +++ b/binarycpython/utils/functions.py @@ -67,7 +67,7 @@ def check_if_in_shell(): return in_shell -def ANSI_colours(self): +def ANSI_colours(): # ANSI colours dictionary foreground_colours = { "red": Fore.RED, diff --git a/binarycpython/utils/spacing_functions.py b/binarycpython/utils/spacing_functions.py index a536e197952dcad7e6efc600b971899d69760ac5..bfd5b805f11cee52f448cc01c350e2f569c57c95 100644 --- a/binarycpython/utils/spacing_functions.py +++ b/binarycpython/utils/spacing_functions.py @@ -6,6 +6,7 @@ Tasks: """ from typing import Union +import functools import math import numpy as np import py_rinterpolate @@ -101,7 +102,6 @@ def gaussian_zoom( return array - def const_dt(self, dt=1000.0, dlogt=0.1,