I’m working on the joukowsky transformation for plotting airfoils and I’m trying to do so with python. The conformal mapping should be pretty straight forward but can’t seem to find a guide on how to …

I’m working on the joukowsky transformation for plotting airfoils and I’m trying to do so with python. The conformal mapping should be pretty straight forward but can’t seem to find a guide on how to …

I have to analyse a PPG signal. I found something to find the peaks but I can’t use the values of the heights. They are stored in like a dictionary array or something and I don’t know how to extract …

terminal showing, ValueError: x and y must have same first dimension, but have shapes (1, 2) and (2,), how to fix this problem? from scipy.signal import argrelextrema data = np.array([-1, 0, 1, 2, 1,…

I am solving the dynamics of a system when it interacts with a pulse, which basically is solving a time-dependent differential equation. In general it works fine, but whenever I take the bandwidth of …

I am unable to find this https://docs.cupy.dev/en/latest/reference/generated/cupyx.scipy.sparse.linalg.cg.html#cupyx.scipy.sparse.linalg.cg after the installation of cupy. It says module not found Can …

I have a pandas DataFrame containing two columns [‘A’, ‘B’]. Each column is made up of integers. I want to construct a sparse matrix with the following properties: row index is all integers from 0 to …

I try to add colored rectangle to dendrogram results like as follow: this is my dendrogram codes: from scipy.cluster.hierarchy import dendrogram … plt.figure(figsize=(250, 100)) labelsize=20 …

I have the given sample data and interpolated spline: import matplotlib.pyplot as plt import numpy as np from scipy import interpolate x = [0.1, 1.5, 2.3, 5.5, 6.7, 7] y = [5, 4, 5, 2, 2, 3] s = …

I have a loop that executes several hundred optimizations using scipy.optimize.minimize. Unfortunately, I keep getting this annoying warning: C:UsersLeonidasAnaconda3libsite-packagesscipy…

I am having trouble to fit experimental data to a complementary error function in Python 3.7.4. import matplotlib.pyplot as plt import math import numpy as np from scipy import optimize from scipy …