It looks like you're new here. If you want to get involved, click one of these buttons!
hello,
i want to use numpy librrary in my code but it looks that numpy is not supported in Klayout
the code i want to use it
import numpy as np
for j in (np.linspace(0,180,self.nIDT/2):
this code is to generate a range for j from 0 to 180 with different number of steps each time .
if there's any alternative i will be glad to check it.
Thanks
Comments
Hi,
On Linux, just install numpy from the package manager.
What's the platform you're on?
Matthias
windows 10
You can try installing the "Windows_Python_packages_for_KLayout". This one should include numpy.
Matthias
sorry but where can i find these packages?
Go to Tools / Manage Packages and install this package.
Matthias