Skip to content
Snippets Groups Projects
Commit 3d0c5073 authored by Wolfgang Kastaun's avatar Wolfgang Kastaun
Browse files

just formatting

parent dbd34209
No related branches found
No related tags found
No related merge requests found
Pipeline #384085 failed
"""Functions for inverting a 1D (time)coordinate transform given as numpy array
The inversion function internally requires an interpolation operator implementing the
RegularInterpolator interface, and which is provided by the user. Use
make_shift_inverse_lagrange_numpy to create an inversion operator employing Lagrange
The inversion function internally requires an interpolation operator implementing the
RegularInterpolator interface, and which is provided by the user. Use
make_shift_inverse_lagrange_numpy to create an inversion operator employing Lagrange
interpolation.
"""
from __future__ import annotations
# ~ from dataclasses import dataclass
# ~ from enum import Enum
from typing import Final
import numpy as np
# ~ from typing_extensions import assert_never
from lisainstrument.fir_filters_numpy import NumpyArray1D
from lisainstrument.regular_interpolators import (
RegularInterpolator,
make_regular_interpolator_lagrange,
# ~ make_regular_interpolator_linear,
)
class ShiftInverseNumpy: # pylint: disable=too-few-public-methods
class ShiftInverseNumpy: # pylint: disable=too-few-public-methods
"""Invert coordinate transformation given as shift"""
def __init__(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment