Skip to content

Instantly share code, notes, and snippets.

View itspacchu's full-sized avatar

Prashant itspacchu

View GitHub Profile
import bpy
import math
import numpy as np
import random
rawdata = ['978.1466642174169,416.0576927689958',
'1006.8180157843148,417.5706213803142',
'1036.7920721872522,416.6868738547563',
'1066.747012249827,416.38719890540835',
'1059.6128569614289,409.33416276234385',
import numpy as np
def dft(x):
X = []
N = len(x)
for k in range(-N,N):
re = 0
im = 0
for n in range(0,N):
phi = (2*np.pi*k*n)/N
# %%
import numpy as np
# %%
p,q=list(),list()
p0,p1,q0,q1 = list(map(int,input('').split(' ')))
p.append(p0);p.append(p1);q.append(q0);q.append(q1)
i = int(input())
arealist = []