Skip to content

Commit

Permalink
remove unsupported operator
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBuchananCompPhys committed Feb 4, 2025
1 parent b24005c commit 41b0d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MDANSE/Src/MDANSE/Mathematics/Signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ def to_json(self) -> dict:
}

@classmethod
def freq_to_energy(cls, freq: float | np.ndarray) -> float | np.ndarray:
def freq_to_energy(cls, freq):
"""Returns the energy value (or values) in millielectronvolts (meV), converted from frequency value (or values) in picohertz (pHz).
:Parameters:
Expand All @@ -622,7 +622,7 @@ def freq_to_energy(cls, freq: float | np.ndarray) -> float | np.ndarray:
return (2 * np.pi) ** (-1) * (freq * 1e12) * cls._freq_to_mev

@classmethod
def energy_to_freq(cls, energy: float | np.ndarray) -> float | np.ndarray:
def energy_to_freq(cls, energy):
"""Returns the frequency value (or values) in millielectronvolts (meV), converted from energy value (or values) in millielectronvolts (meV).
:Parameters:
Expand Down

0 comments on commit 41b0d3e

Please sign in to comment.