forked from IPKM/nmreval
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
47f11a073c
@ -393,7 +393,7 @@ class Points:
|
|||||||
def integrate(self, log: bool = False, limits: tuple[float, float] = None) -> PointLike:
|
def integrate(self, log: bool = False, limits: tuple[float, float] = None) -> PointLike:
|
||||||
new_data = self.copy()
|
new_data = self.copy()
|
||||||
|
|
||||||
if limits is not None:
|
if limits != (None, None):
|
||||||
new_data.cut(*limits)
|
new_data.cut(*limits)
|
||||||
|
|
||||||
if log:
|
if log:
|
||||||
|
Loading…
Reference in New Issue
Block a user