Ask Your Question

Revision history [back]

click to hide/show revision 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.

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.