First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
To call B.py from A.py, just use the following line at the end of A.py:
exec("B.py")
I'm not sure what your goal is, but if you need to pass a frequency trace through a low pass filter, I'd suggest using scipy or something similar. This is more of a generic Python question than a PSSPy question. This might be useful: FIRFilter.
2 | No.2 Revision |
To call B.py from A.py, just use the following line at the end of A.py:
exec("B.py")
execfile("B.py")
I'm not sure what your goal is, but if you need to pass a frequency trace through a low pass filter, I'd suggest using scipy or something similar. This is more of a generic Python question than a PSSPy question. This might be useful: FIRFilter.