Using imports in pulse sequences

Hi Resonint Team,

I’ve been getting into making some pulse sequences recently. One thing I thought would be helpful is to make a helper library of gradient shapes (attached) - ramp, trapezoid, triangle, sinusoid.

The issue I am having is that because the pulse sequences are run on a separate runner to what is running the jupyter server, it can’t import my helper library. I could include the code in the pulse sequence file and it would run, but this defeats the object of having a gradient library that I can reuse! Any ideas?

Cheers!

gradients.py (7.9 KB)