pulseprogram 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
  1. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/AdjSf.ppg"
  2. ;****************************************************************
  3. ;
  4. ; $Source: /pv/CvsTree/pv/gen/src/prg/methods/AdjSf/AdjSf.ppg,v $
  5. ;
  6. ; Copyright (c) 2013
  7. ; Bruker BioSpin MRI GmbH
  8. ; D-76275 Ettlingen, Germany
  9. ;
  10. ; All Rights Reserved
  11. ;
  12. ; $Id: AdjSf.ppg,v 1.8 2013/11/28 15:46:39 sako Exp $
  13. ;
  14. ;****************************************************************
  15. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include" 1
  16. ;****************************************************************
  17. ;
  18. ; $Source: /pv/CvsTree/pv/gen/src/prg/methManag/PPG/Attic/MRI.include,v $
  19. ;
  20. ; Copyright (c) 2006
  21. ; Bruker BioSpin MRI GmbH
  22. ; D-76275 Ettlingen, Germany
  23. ;
  24. ; All Rights Reserved
  25. ;
  26. ;;****************************************************************
  27. ;MRI.include
  28. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/Avance.incl" 1
  29. ;Avance3.incl
  30. ; for AV III
  31. ;
  32. ;avance-version (13/06/17)
  33. ;
  34. ;$CLASS=HighRes Incl
  35. ;$COMMENT=
  36. # 169 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/Avance.incl"
  37. ;$Id: Avance3.incl,v 1.9.6.1 2013/06/17 15:32:55 pfre Exp $
  38. # 14 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include" 2
  39. define delay aqq
  40. define delay deparx
  41. define delay derxadc
  42. define delay rdepa
  43. # 21 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include"
  44. "aqq=dw*td"
  45. "rdepa=de-depa"
  46. "deparx=depa-derx"
  47. "derxadc=derx-deadc"
  48. ; contents of De2.incl - usage for different hardware versions to
  49. ; be checked - intermediate solution to support Jobs
  50. define delay rde1
  51. # 31 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include"
  52. "rde1=de-de1"
  53. # 44 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include"
  54. ; end of contents of De2.incl
  55. # 65 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include"
  56. # 74 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include"
  57. # 128 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include"
  58. # 129 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include"
  59. # 141 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MRI.include"
  60. # 17 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/AdjSf.ppg" 2
  61. # 20 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/AdjSf.ppg"
  62. define delay deosc = {$DEOSC}
  63. "deosc = abs(deosc)*1e-6"
  64. define delay dur500
  65. "dur500 = 50u - de"
  66. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 1
  67. ;****************************************************************
  68. ;
  69. ; Copyright (c) 2003-2007
  70. ; Bruker BioSpin MRI GmbH
  71. ; D-76275 Ettlingen, Germany
  72. ;
  73. ; $Id: PrepModulesHead.mod,v 1.19 2012/01/20 10:19:48 wemch Exp $
  74. ;
  75. ; All Rights Reserved
  76. ;
  77. ; Declaration of pulseprogram parameters and subroutines for
  78. ; preparation modules
  79. ;
  80. ; Must be included after MRI.include!
  81. ;
  82. ;****************************************************************
  83. ;**** Fat Suppression ****
  84. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/FatSupDef.mod" 1
  85. ;****************************************************************
  86. ;
  87. ; Copyright (c) 2002-2007
  88. ; Bruker BioSpin MRI GmbH
  89. ; D-76275 Ettlingen, Germany
  90. ;
  91. ; $Id: FatSupDef.mod,v 1.7 2013/07/05 14:15:26 sako Exp $
  92. ;
  93. ; All Rights Reserved
  94. ;
  95. ; FatSupDef.mod : Declaration of Fat Suppression Subroutine
  96. ;
  97. ;****************************************************************
  98. # 15 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/FatSupDef.mod"
  99. if (PVM_FatSupPerform == Yes)
  100. {
  101. define pulse fatSupPul = {$PVM_FatSupRfLength}
  102. define list<frequency> fatSupList = {$PVM_FatSupFL}
  103. define delay fatSupRamp = {$PVM_FatSupRampTime}
  104. define delay fatSupAmp = {$PVM_FatSupAmpEnable}
  105. define delay fatSupGrad = {$PVM_FatSupGradWait}
  106. define delay fatSupSpoil = {$PVM_FatSupSpoilDur}
  107. ; convert from ms to s
  108. "fatSupRamp = fatSupRamp / 1000"
  109. "fatSupAmp = fatSupAmp / 1000"
  110. "fatSupGrad = fatSupGrad / 1000"
  111. "fatSupSpoil = fatSupSpoil / 1000"
  112. }
  113. subroutine FatSup
  114. # 20 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  115. ;**** Flow Saturation ****
  116. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/FlowSatDef.mod" 1
  117. ;****************************************************************
  118. ;
  119. ; Copyright (c) 2005-2007
  120. ; Bruker BioSpin MRI GmbH
  121. ; D-76275 Ettlingen, Germany
  122. ;
  123. ; $Id: FlowSatDef.mod,v 1.7 2013/06/04 10:11:30 sako Exp $
  124. ;
  125. ; All Rights Reserved
  126. ;
  127. ; FlowSatDef.mod: Declaration of subroutines for Flow Saturation
  128. ; call
  129. ; subr FlowSat()
  130. ; subr FlowSatInit()
  131. ; subr FlowSatInc()
  132. ;
  133. ;****************************************************************
  134. if(PVM_InFlowSatOnOff == 1)
  135. {
  136. define list<frequency> modlis4 = {$PVM_InFlowSatFL}
  137. define list<grad_scalar> flowSatGrad={$PVM_InFlowSatGrad}
  138. define delay SfD0 = {$PVM_SfD0}
  139. define delay SfD1 = {$PVM_SfD1}
  140. define delay SfD2 = {$PVM_SfD2}
  141. define pulse SfP0 = {$PVM_SfP0}
  142. define loopcounter SfLp0 = {$PVM_SfLp0}
  143. }
  144. subroutine FlowSat
  145. subroutine FlowSatInc
  146. subroutine FlowSatInit
  147. # 24 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  148. ;**** Inversion Pulse ****
  149. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/InvPulseDef.mod" 1
  150. ;****************************************************************
  151. ;
  152. ; Copyright (c) 2002-2007
  153. ; Bruker BioSpin MRI GmbH
  154. ; D-76275 Ettlingen, Germany
  155. ;
  156. ; $Id: InvPulseDef.mod,v 1.2 2010/12/15 10:52:31 mah Exp $
  157. ;
  158. ; All Rights Reserved
  159. ;
  160. ; InvPulseDef.mod : Declaration of Inversion Pulse subroutine
  161. ;
  162. ; call
  163. ; subr InvPulse()
  164. ;
  165. ;****************************************************************
  166. ;
  167. ; PVM_InvRFPulseArr :
  168. ;
  169. ; sp22 TPQQ[14].name : PVM_InvRFPulsePropertyArr[0].Filename
  170. ;
  171. ; PVM_IpP0 : PVM_InvRFPulseArr[0].PulseLength
  172. ;
  173. ; PVM_IpD2 : PVM_InvPulseDelay[0]
  174. ; PVM_IpD3 : PVM_InvPulseSpoilTime[0]
  175. ; PVM_IpD1 : CONFIG_amplifier _enable
  176. ; PVM_IpD0 : PVM_RampTime
  177. ;
  178. if(PVM_InvPulseOnOff == 1)
  179. {
  180. define list<frequency> modlis2= {$PVM_InvPulseOffsetHz}
  181. define delay IpD0 = {$PVM_IpD0}
  182. define delay IpD1 = {$PVM_IpD1}
  183. define delay IpD2 = {$PVM_IpD2}
  184. define delay IpD3 = {$PVM_IpD3}
  185. define pulse IpP0 = {$PVM_IpP0}
  186. }
  187. subroutine InvPulse
  188. # 28 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  189. ;**** Magnetisation Transfer ****
  190. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MagTransDef.mod" 1
  191. ;****************************************************************
  192. ; $Source: /pv/CvsTree/pv/gen/src/prg/methManag/PPG/Attic/MagTransDef.mod,v $
  193. ;
  194. ; Copyright (c) 2005-2007
  195. ; Bruker BioSpin MRI GmbH
  196. ; D-76275 Ettlingen, Germany
  197. ;
  198. ; All Rights Reserved
  199. ;
  200. ; MagTransDef.mod: Declaration of subroutine for Magnetization
  201. ; transfer
  202. ; call
  203. ; subr MagTrans()
  204. ;
  205. ; $Id: MagTransDef.mod,v 1.6.2.1 2015/03/24 14:30:00 sako Exp $
  206. ;****************************************************************
  207. ;**** Magnetisation Transfer Module ****
  208. if(PVM_MagTransOnOff)
  209. {
  210. define list<frequency> modlis3 = {$PVM_MagTransFL}
  211. define delay MtD0 = {$PVM_MtD0}
  212. define delay MtD1 = {$PVM_MtD1}
  213. define delay MtD2 = {$PVM_MtD2}
  214. define delay MtD3 = {$PVM_MtD3}
  215. # 28 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/MagTransDef.mod"
  216. define pulse MtP0 = {$PVM_MtP0}
  217. define loopcounter MtLp0 = {$PVM_MtLp0}
  218. }
  219. subroutine MagTrans
  220. # 32 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  221. ;**** Saturation Pulse ****
  222. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/SatPulseDef.mod" 1
  223. ;****************************************************************
  224. ;
  225. ; Copyright (c) 2002-2003
  226. ; Bruker BioSpin MRI GmbH
  227. ; D-76275 Ettlingen, Germany
  228. ;
  229. ; $Id: SatPulseDef.mod,v 1.3 2010/12/15 10:52:31 mah Exp $
  230. ;
  231. ; All Rights Reserved
  232. ;
  233. ; SatPulseDef.mod : Declaration of Saturation Pulse subroutines
  234. ; call
  235. ; subr SatPulse()
  236. ;
  237. ;****************************************************************
  238. ;
  239. ; PVM_SatRFPulseArr :
  240. ;
  241. ; sp28 DPQQ[12].name : PVM_SatRFPulsePropertyArr[0].Filename
  242. ; sp29 DPQQ[13].name : PVM_SatRFPulsePropertyArr[1].Filename
  243. ; sp30 DPQQ[14].name : PVM_SatRFPulsePropertyArr[2].Filename
  244. ; sp31 DPQQ[15].name : PVM_SatRFPulsePropertyArr[3].Filename
  245. ;
  246. ; PVM_SpP0 : PVM_SatRFPulseArr[0].PulseLength
  247. ; PVM_SpP1 : PVM_SatRFPulseArr[1].PulseLength
  248. ; PVM_SpP2 : PVM_SatRFPulseArr[2].PulseLength
  249. ; PVM_SpP3 : PVM_SatRFPulseArr[3].PulseLength
  250. ;
  251. ; PVM_SpD2 : PVM_SatPulseDelay1[0]
  252. ; PVM_SpD6 : PVM_SatPulseSpoilTime[0]
  253. ; PVM_SpD10 : PVM_SatPulseDelay2[0]
  254. ; PVM_SpD3 : PVM_SatPulseSpoilTime[1]
  255. ; PVM_SpD7 : PVM_SatPulseDelay1[1]
  256. ; PVM_SpD11 : PVM_SatPulseDelay2[1]
  257. ; PVM_SpD4 : PVM_SatPulseDelay1[2]
  258. ; PVM_SpD8 : PVM_SatPulseSpoilTime[2]
  259. ; PVM_SpD12 : PVM_SatPulseDelay2[2]
  260. ; PVM_SpD5 : PVM_SatPulseDelay1[3]
  261. ; PVM_SpD9 : PVM_SatPulseSpoilTime[3]
  262. ; PVM_SpD13 : PVM_SatPulseDelay2[3]
  263. ;
  264. if(PVM_SatPulseOnOff == 1)
  265. {
  266. define list<frequency> modlis7 = {$PVM_SatPulseOffsetHz}
  267. define delay SpD0 = {$PVM_SpD0}
  268. define delay SpD1 = {$PVM_SpD1}
  269. define delay SpD2 = {$PVM_SpD2}
  270. define delay SpD3 = {$PVM_SpD3}
  271. define delay SpD4 = {$PVM_SpD4}
  272. define delay SpD5 = {$PVM_SpD5}
  273. define delay SpD6 = {$PVM_SpD6}
  274. define delay SpD7 = {$PVM_SpD7}
  275. define delay SpD8 = {$PVM_SpD8}
  276. define delay SpD9 = {$PVM_SpD9}
  277. define delay SpD10 = {$PVM_SpD10}
  278. define delay SpD11 = {$PVM_SpD11}
  279. define delay SpD12 = {$PVM_SpD12}
  280. define delay SpD13 = {$PVM_SpD13}
  281. define pulse SpP0 = {$PVM_SpP0}
  282. define pulse SpP1 = {$PVM_SpP1}
  283. define pulse SpP2 = {$PVM_SpP2}
  284. define pulse SpP3 = {$PVM_SpP3}
  285. # 66 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/SatPulseDef.mod"
  286. }
  287. subroutine SatPulse
  288. # 36 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  289. ;*** FOV Saturation ***
  290. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/FovSatDef.mod" 1
  291. ;****************************************************************
  292. ;
  293. ; Copyright (c) 2002-2007
  294. ; Bruker BioSpin MRI GmbH
  295. ; D-76275 Ettlingen, Germany
  296. ;
  297. ; $Id: FovSatDef.mod,v 1.8 2013/08/06 08:09:43 sako Exp $
  298. ;
  299. ; All Rights Reserved
  300. ;
  301. ; FovSat.mod : Declaration of FOV Saturation subroutine
  302. ; call: subr FovSat()
  303. ;
  304. ;****************************************************************
  305. if (PVM_FovSatOnOff == On)
  306. {
  307. define pulse fovSatPul = {$PVM_FovSatRfLength}
  308. define list<frequency> fovSatList = {$PVM_FovSatFL}
  309. define delay fovSatRamp = {$PVM_FovSatRampTime}
  310. define delay fovSatAmp = {$PVM_FovSatAmpEnable}
  311. define delay fovSatGrad = {$PVM_FovSatGradWait}
  312. define delay fovSatSpoil = {$PVM_FovSatSpoilDur}
  313. # 27 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/FovSatDef.mod"
  314. ; convert from ms to s
  315. "fovSatRamp = fovSatRamp / 1000"
  316. "fovSatAmp = fovSatAmp / 1000"
  317. "fovSatGrad = fovSatGrad / 1000"
  318. "fovSatSpoil = fovSatSpoil / 1000"
  319. }
  320. subroutine FovSat
  321. # 53 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/FovSatDef.mod"
  322. ; backwards compatibility
  323. subroutine SatSlices
  324. # 40 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  325. ;**** Black Blood ****
  326. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/BlBloodDef.mod" 1
  327. ;****************************************************************
  328. ;
  329. ; Copyright (c) 2007
  330. ; Bruker BioSpin MRI GmbH
  331. ; D-76275 Ettlingen, Germany
  332. ;
  333. ; $Id: BlBloodDef.mod,v 1.4 2013/06/04 10:11:30 sako Exp $
  334. ;
  335. ; All Rights Reserved
  336. ;
  337. ; BlBloodDef.mod : Declaration of Black blood subroutine
  338. ;
  339. ; call
  340. ; subr BlBlood(ph0) : Black blood preparation with RF phaselist
  341. ; ph0
  342. ;
  343. ;****************************************************************
  344. if(PVM_BlBloodOnOff)
  345. {
  346. define list<frequency> modlis8 = {$PVM_BlBloodFL}
  347. define delay BlbD0 = {$PVM_BlbD0}
  348. define delay BlbD1 = {$PVM_BlbD1}
  349. define delay BlbD2 = {$PVM_BlbD2}
  350. define delay BlbD3 = {$PVM_BlbD3}
  351. define pulse BlbP0 = {$PVM_BlbP0}
  352. }
  353. subroutine BlBlood
  354. # 44 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  355. ;**** Trigger ****
  356. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/TriggerDef.mod" 1
  357. ;****************************************************************
  358. ;
  359. ; Copyright (c) 1998-2003
  360. ; Bruker BioSpin MRI GmbH
  361. ; D-76275 Ettlingen, Germany
  362. ;
  363. ; All Rights Reserved
  364. ;
  365. ; TriggerDef.mod - Trigger Module
  366. ;
  367. ;****************************************************************
  368. if (PVM_TriggerModule == On)
  369. {
  370. define delay trigDur = {$PVM_TriggerDur}
  371. define delay trigDel = {$PVM_TriggerDelay}
  372. ; convert from ms to s
  373. "trigDur = trigDur / 1000"
  374. "trigDel = trigDel / 1000"
  375. }
  376. subroutine Trigger
  377. subroutine TriggerPhase
  378. subroutine TriggerSlice
  379. # 48 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  380. ;**** Trigger Out ****
  381. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/TriggerOutDef.mod" 1
  382. ;****************************************************************
  383. ;
  384. ; Copyright (c) 2003
  385. ; Bruker BioSpin MRI GmbH
  386. ; D-76275 Ettlingen, Germany
  387. ;
  388. ; All Rights Reserved
  389. ; $Id: TriggerOutDef.mod,v 1.2 2013/07/05 14:15:26 sako Exp $
  390. ;****************************************************************
  391. if (PVM_TriggerOutOnOff == On)
  392. {
  393. define delay trigOutDur = {$PVM_TriggerOutDur}
  394. define delay trigOutDel = {$PVM_TriggerOutDelay}
  395. ; convert from ms to s
  396. "trigOutDur = trigOutDur / 1000"
  397. "trigOutDel = trigOutDel / 1000"
  398. }
  399. subroutine TriggerOut
  400. subroutine TriggerOutStart
  401. subroutine TriggerOutSlice
  402. subroutine TriggerOutVolume
  403. # 52 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  404. ;**** Outer Volume Suppression ****
  405. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/WsOvsDef.mod" 1
  406. ;****************************************************************
  407. ;
  408. ; Copyright (c) 2005-2007
  409. ; Bruker BioSpin MRI GmbH
  410. ; D-76275 Ettlingen, Germany
  411. ;
  412. ; $Id: WsOvsDef.mod,v 1.6 2013/07/08 08:33:32 josh Exp $
  413. ;
  414. ; All Rights Reserved
  415. ;
  416. ; WsOvsDef.mod: Declaration of water suppression and Outer
  417. ; volume suppression subroutines
  418. ;
  419. ; call
  420. ; subr Ovs(ph0) ; execution of OVS with ph0 phaselist
  421. ;
  422. ; subr WsOvs(ph0,ph1) : execution of OVS with ph0 and WS with ph1
  423. ; phaselist
  424. ;****************************************************************
  425. ;**** OuterVolumeSuppression ****
  426. if(PVM_OvsOnOff == 1)
  427. {
  428. define list<frequency> Ovslist={$PVM_OvsFrequencyList}
  429. define delay OvsD0 = {$PVM_OvsD0}
  430. define delay OvsD1 = {$PVM_OvsD1}
  431. define pulse OvsP0 = {$PVM_OvsP0}
  432. }
  433. subroutine Ovs
  434. # 59 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/WsOvsDef.mod"
  435. ;*** WaterSuppression Module with OVS ****
  436. if (PVM_WsMode)
  437. {
  438. define list<frequency> Wslist={$PVM_WsOffsetHz}
  439. define pulse WsP0 = {$PVM_WsP0}
  440. define pulse WsP1 = {$PVM_WsP1}
  441. define pulse WsP2 = {$PVM_WsP2}
  442. define delay WsNp0
  443. "WsNp0 = WsP0"
  444. define delay WsNp1
  445. "WsNp1 = WsP1"
  446. define delay WsNp2
  447. "WsNp2 = WsP2"
  448. define list<delay> ChD1={$PVM_ChppgD1}
  449. define list<delay> ChD2={$PVM_ChppgD2}
  450. define list<delay> VpD1={$PVM_VpppgD1}
  451. define list<delay> VpD2={$PVM_VpppgD2}
  452. # 79 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/WsOvsDef.mod"
  453. }
  454. subroutine WsOvsMain
  455. subroutine WsOvs
  456. subroutine Ws
  457. # 56 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  458. ;**** Solvent Suppression module ****
  459. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/WsSatDef.mod" 1
  460. ;******************************************************************
  461. ;
  462. ; Copyright (c) 2002-2007
  463. ; Bruker BioSpin MRI GmbH
  464. ; D-76275 Ettlingen, Germany
  465. ;
  466. ; $Id: WsSatDef.mod,v 1.11 2013/08/23 08:37:06 josh Exp $
  467. ;
  468. ; All Rights Reserved
  469. ;
  470. ; WsSatDef.mod - Declaration of water suppression and FOV saturation
  471. ; subroutines
  472. ; call
  473. ; subr WsSat(ph0) : execution of WS with ph0 phaselist and
  474. ; FOV saturation (as passed as argument)
  475. ;
  476. ;*******************************************************************
  477. ; Definitions for WsPpgParams are included in WsOvsDef.mod
  478. subroutine WsSatMain
  479. subroutine WsSat
  480. # 60 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  481. ;**** Selective Inversion Recovery ****
  482. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/SelSliceIrDef.mod" 1
  483. ;****************************************************************
  484. ;
  485. ; Copyright (c) 2007
  486. ; Bruker BioSpin MRI GmbH
  487. ; D-76275 Ettlingen, Germany
  488. ;
  489. ; $Id: SelSliceIrDef.mod,v 1.5 2013/06/04 10:11:30 sako Exp $
  490. ;
  491. ; All Rights Reserved
  492. ;
  493. ; SelSliceIrDef.mod : declaration of slice Selective Inversion
  494. ; Recovery subroutine
  495. ; call SliceSelIr()
  496. ;
  497. ;
  498. ;****************************************************************
  499. if(PVM_SelIrOnOff)
  500. {
  501. define list<frequency> IrFL = {$PVM_SelIrFL}
  502. define delay IrD0 = {$PVM_SelIrD0}
  503. define delay IrD1 = {$PVM_SelIrD1}
  504. define delay IrD2 = {$PVM_SelIrD2}
  505. define delay IrD3 = {$PVM_SelIrD3}
  506. define delay IrD4 = {$PVM_SelIrD4}
  507. # 28 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/SelSliceIrDef.mod"
  508. define pulse IrP0 = {$PVM_SelIrP0}
  509. define loopcounter IrL0 = {$PVM_SelIrL0}
  510. }
  511. subroutine SliceSelIr
  512. # 64 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  513. ;**** Tagging ****
  514. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/TagDef.mod" 1
  515. ;****************************************************************
  516. ;
  517. ; Copyright (c) 2007
  518. ; Bruker BioSpin MRI GmbH
  519. ; D-76275 Ettlingen, Germany
  520. ;
  521. ; $Id: TagDef.mod,v 1.6 2013/06/05 12:55:35 sako Exp $
  522. ;
  523. ; All Rights Reserved
  524. ;
  525. ; TagDef.mod : Declaration of tagging subroutine
  526. ; call
  527. ; subr Tagging()
  528. ;
  529. ;****************************************************************
  530. if(PVM_TaggingOnOff)
  531. {
  532. define list<frequency> taggfreq={$PVM_TaggingFL}
  533. define delay TaggD0 = {$PVM_TaggingD0}
  534. define delay TaggD1 = {$PVM_TaggingD1}
  535. define delay TaggD2 = {$PVM_TaggingD2}
  536. define delay TaggD3 = {$PVM_TaggingD3}
  537. define delay TaggD4 = {$PVM_TaggingD4}
  538. define delay TaggD5 = {$PVM_TaggingD5}
  539. # 28 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/TagDef.mod"
  540. define pulse TaggP0 = {$PVM_TaggingP0}
  541. define loopcounter TaggL0 = {$PVM_TaggingLp0}
  542. }
  543. subroutine Tagging
  544. # 68 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  545. ;**** Noe ****
  546. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/NoeDef.mod" 1
  547. ;****************************************************************
  548. ;
  549. ; Copyright (c) 2007
  550. ; Bruker BioSpin MRI GmbH
  551. ; D-76275 Ettlingen, Germany
  552. ;
  553. ; $Id: NoeDef.mod,v 1.1 2007/07/02 14:26:00 mawi Exp $
  554. ;
  555. ; All Rights Reserved
  556. ;
  557. ; NoeDef.mod: Declaration of Nuclear Overhouser Enhancement
  558. ; subroutine
  559. ; call
  560. ; subr Noe()
  561. ;
  562. ;****************************************************************
  563. if(PVM_NoeOnOff == On)
  564. {
  565. define delay NoeD0 = {$PVM_NoeD0}
  566. define delay NoeD1 = {$PVM_NoeD1}
  567. }
  568. subroutine Noe
  569. # 72 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  570. ;**** Evolution ****
  571. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/EvolutionDef.mod" 1
  572. ;****************************************************************
  573. ;
  574. ; Copyright (c) 1998-2003
  575. ; Bruker BioSpin MRI GmbH
  576. ; D-76275 Ettlingen, Germany
  577. ;
  578. ; All Rights Reserved
  579. ;
  580. ; EvolutionDef.mod - Evolution Module
  581. ;
  582. ;****************************************************************
  583. if (PVM_EvolutionOnOff == On)
  584. {
  585. define delay evolDel = {$PVM_EvolutionDelay}
  586. define list<delay> evolTime = {$PVM_EvolutionTime}
  587. }
  588. subroutine Evolution
  589. # 76 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2
  590. # 27 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/AdjSf.ppg" 2
  591. # 30 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/AdjSf.ppg"
  592. preset off
  593. dccorr \n \n if (CONFIG_preemp_type == GREAT_60) \n { \n if (CONFIG_instrument_type != Avance_III) \n { \n 500m setnmr0|34|33|32 \n } \n else \n { \n 200u setnmr0|34|33|32 \n } \n } \n if (CONFIG_preemp_type == DPP_with_SW_Blanking) \n {\n 10u ctrlgrad 0 \n 10u grad{(0)|(0)|(0) } \n 200u setnmr0|34|33|32 \n }\n if (CONFIG_preemp_type == DPP) \n { \n 10u groff \n }
  594. start, 2u
  595. 3u fq8(receive):f1
  596. # 1 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/TriggerPerPhaseStep.mod" 1
  597. ;****************************************************************
  598. ;
  599. ; Copyright (c) 1998-2003
  600. ; Bruker BioSpin MRI GmbH
  601. ; D-76275 Ettlingen, Germany
  602. ;
  603. ; All Rights Reserved
  604. ;
  605. ; TriggerPerPhaseStep.mod - Trigger Module
  606. ;
  607. ;****************************************************************
  608. subr TriggerPhase
  609. ;EXEC_begin TriggerPhase TriggerPhase()
  610. # 45 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/TriggerDef.mod"
  611. if (PVM_TriggerMode == per_PhaseStep)
  612. {
  613. ;EXEC_begin Trigger Trigger()
  614. # 23 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/TriggerDef.mod"
  615. if (PVM_TriggerModule == On)
  616. {
  617. trigDur setnmr3|6
  618. if (CONFIG_instrument_type == Avance_III)
  619. {
  620. trigDur trignl1
  621. trigDur trigpe3
  622. }
  623. else
  624. {
  625. trigDur
  626. trigDur trigpl1
  627. }
  628. trigDur setnmr3^6
  629. trigDel
  630. }
  631. ;EXEC_end Trigger
  632. }
  633. ;EXEC_end TriggerPhase
  634. # 13 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/TriggerPerPhaseStep.mod"
  635. # 36 "/opt/PV6.0.1/exp/stan/nmr/lists/pp/AdjSf.ppg" 2
  636. 5u fq1:f1
  637. d1 gatepulse 1
  638. (p0:sp0 ph0):f1
  639. dur500
  640. rdepa \n deparx adc ph0 syrec fqatofqb:f1 \n derxadc ph1:r \n deadc
  641. deosc cpdngs17:f1
  642. 40u eoscnp
  643. d0
  644. lo to start times NI
  645. 5u ipp0 ipp1
  646. lo to start times NA
  647. 10u rpp0 rpp1
  648. if (ACQ_scan_type != Scan_Experiment) \n{ \n goto start \n}
  649. exit
  650. ph0 = 0
  651. ph1 = 0