Divide one AC-analysis waveform by another

I have run an AC analysis in PySpice.
I have found the waveform for input (source) voltage, and input (source) current.
Now I would like to find the impedance waveform (voltage/current)
How can I divide one waveform by another?

Thanks for your help!