# PGSE-CPMG Sequence

**URL:** <https://resonint.discourse.group/t/pgse-cpmg-sequence/60>\
**Category:** ilumr Q&A\
**Created:** [June 11, 2025, 3:21pm UTC](https://resonint.discourse.group/t/pgse-cpmg-sequence/60 "2025-06-11T15:21:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Oliver-Taylor](https://yyz1.discourse-cdn.com/flex029/user_avatar/resonint.discourse.group/aaron_oliver-taylor/32/54_2.png) [@Aaron\_Oliver-Taylor](https://resonint.discourse.group/u/Aaron_Oliver-Taylor)\
**Post date:** [June 11, 2025, 3:21pm UTC](https://resonint.discourse.group/t/pgse-cpmg-sequence/60/1 "2025-06-11T15:21:13Z")

</div>

Hey Resonint Team,

Do you happen to have a PGSE-CPMG sequence that you can share for combined diffusion and T2 (no imaging)?

Cheers,  
Aaron

---

<div class="post-metadata">

**Author:** ![Sharon\_McTaggart](https://yyz1.discourse-cdn.com/flex029/user_avatar/resonint.discourse.group/sharon_mctaggart/32/31_2.png) [@Sharon\_McTaggart](https://resonint.discourse.group/u/Sharon_McTaggart)\
**Post date:** [June 17, 2025, 12:25am UTC](https://resonint.discourse.group/t/pgse-cpmg-sequence/60/2 "2025-06-17T00:25:34Z")

</div>

Hi Aaron,

I have added a [PGSE-CPMG pulse sequence](https://github.com/Resonint/ilumr-resources/blob/main/notebooks/relaxometry/PGSE_CPMG.py) file and a [D-T2 PGSE-CPMG experiment](https://github.com/Resonint/ilumr-resources/blob/main/notebooks/relaxometry/D-T2%20PGSE_CPMG.ipynb) python notebook to the relaxometry folder in our [ilumr-resources Github repository](https://github.com/Resonint/ilumr-resources/tree/main)!

You will also need the [Gradient Calibration](https://github.com/Resonint/ilumr-resources/blob/main/notebooks/utilities/Gradient%20Calibration.ipynb) notebook from the utilities folder to calibrate your gradients for accurate b-values.

Please let me know if you have any questions!

---

<div class="post-metadata">

**Author:** ![Aaron\_Oliver-Taylor](https://yyz1.discourse-cdn.com/flex029/user_avatar/resonint.discourse.group/aaron_oliver-taylor/32/54_2.png) [@Aaron\_Oliver-Taylor](https://resonint.discourse.group/u/Aaron_Oliver-Taylor)\
**Post date:** [June 17, 2025, 3:36pm UTC](https://resonint.discourse.group/t/pgse-cpmg-sequence/60/3 "2025-06-17T15:36:26Z")

</div>

Hi Sharon,

Thank you very much for sharing these + the other resources. This is really helpful I did have a go at making my own (first foray into pulse sequence programming for 14 years!) which was very enjoyable. What I ended up doing was setting up a virtual environment with the sequence plotter installed, and then created the pulse sequence in there. A couple of comments:

1. The API documentation could do with some improvement to make it clearer about how to use it.
2. It would be great to be able to pip install the sequence plotter + standalone matipo libraries, as then an IDE (such as VS code) will be able to take advantage of type hints, etc. During development most of the issues I encountered could have been addressed this way.

Cheers,  
Aaron

---

<div class="post-metadata">

**Author:** ![Sharon\_McTaggart](https://yyz1.discourse-cdn.com/flex029/user_avatar/resonint.discourse.group/sharon_mctaggart/32/31_2.png) [@Sharon\_McTaggart](https://resonint.discourse.group/u/Sharon_McTaggart)\
**Post date:** [June 19, 2025, 3:09am UTC](https://resonint.discourse.group/t/pgse-cpmg-sequence/60/4 "2025-06-19T03:09:26Z")

</div>

Hi Aaron,

So exciting to hear that you’re getting back into pulse sequence programming!

Thank you so much for your useful comments. It’s great to hear about how we can improve things.

If you have any further suggestions or questions please let me know!
