Benign python Download

InterpolatePy 3.2.2

“A comprehensive Python library for generating smooth trajectories and curves with precise control over position, velocity, acceleration, an…”

Module built on the numeric Python stackPython reads an environment variable

Evidence

Imports the NumPy array library lines 1–17
⋯8 lines
9from __future__ import annotations
10
11import numpy as np
12from scipy.linalg import solve
13from typing import TYPE_CHECKING
14
15if TYPE_CHECKING:
16 import matplotlib.pyplot as plt
17 from mpl_toolkits.mplo …
NumPy array operation (ndarray) lines 47–53
47:30… R0913
48 self,
49 degree: int,
50 points: list | np.ndarray,
51 times: list | np.ndarray | None = None,
52 initial_velocity: list | np.ndarray | None = None,
53 final_veloc …
NumPy array operation (array) lines 91–96
91:5… if not isinstance(points, np.ndarray):
92 points = np.array(points, dtype=np.float64)
93
94 # Ensure points are 2D
95 if points.ndim == 1:
96 # For 1D points, reshape to …
NumPy array operation (arange) lines 112–116
112:30… e if not provided
113 if times is None:
114 times = np.arange(len(points), dtype=np.float64)
115 elif not isinstance(times, np.ndarray):
116 times = np.array(times, dtype=np.flo …
NumPy array operation (zeros) lines 131–135
131:46… only need it for basis functions
132 temp_control_points = np.zeros((len(knots) - degree - 1, 1))
133 self.temp_spline = BSpline(degree, knots, temp_control_points)
134
135 # Compute control …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.