# 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" ;******************************************************************* ; ; Copyright (c) 2019 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; All Rights Reserved ; ; a RARE imaging experiment ; ;******************************************************************* ; ; # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" 1 ;**************************************************************** ; ; $Source$ ; ; Copyright (c) 2006 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; All Rights Reserved ; ;;**************************************************************** ;MRI.include # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/Avance.incl" 1 ;Avance3.incl ; for AV III ; ;avance-version (13/06/17) ; ;$CLASS=HighRes Incl ;$COMMENT= # 169 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/Avance.incl" ;$Id: Avance3.incl,v 1.9.6.1 2013/06/17 15:32:55 pfre Exp $ # 14 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" 2 define delay aqq define delay deparx define delay derxadc define delay rdepa # 21 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" "aqq=dw*td" "rdepa=de-depa" "deparx=depa-derx" "derxadc=derx-deadc" ; contents of De2.incl - usage for different hardware versions to ; be checked - intermediate solution to support Jobs define delay rde1 # 31 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" "rde1=de-de1" # 44 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" ; end of contents of De2.incl # 65 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" # 74 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" # 128 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" # 129 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" # 141 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MRI.include" # 15 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" 2 # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 1 ;**************************************************************** ; ; Copyright (c) 2003-2007 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; Declaration of pulseprogram parameters and subroutines for ; preparation modules ; ; Must be included after MRI.include! ; ;**************************************************************** ;**** Fat Suppression **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FatSupDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2018 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; FatSupDef.mod : Declaration of Fat Suppression Subroutine ; ;**************************************************************** if (PVM_FatSupPerform == Yes) { define pulse fatSupPul = {$PVM_FatSupRfLength} define list fatSupList = {$PVM_FatSupFL} define delay fatSupRamp = {$PVM_FatSupRampTime} define delay fatSupAmp = {$PVM_FatSupAmpEnable} define delay fatSupWait = {$PVM_FatSupGradWait} define delay fatSupSpoil = {$PVM_FatSupSpoilDur} ; convert from ms to s "fatSupRamp = fatSupRamp / 1000" "fatSupAmp = fatSupAmp / 1000" "fatSupWait = fatSupWait / 1000" "fatSupSpoil = fatSupSpoil / 1000" } subroutine FatSup # 20 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Flow Saturation **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FlowSatDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2018 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; FlowSatDef.mod: Declaration of subroutines for Flow Saturation ; call ; subr FlowSat() ; subr FlowSatInit() ; subr FlowSatInc() ; ;**************************************************************** if(PVM_InFlowSatOnOff == 1) { define list modlis4 = {$PVM_InFlowSatFL} define list flowSatGrad={$PVM_InFlowSatGrad} define delay SfD0 = {$PVM_SfD0} define delay SfD1 = {$PVM_SfD1} define delay SfD2 = {$PVM_SfD2} # 28 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FlowSatDef.mod" define pulse SfP0 = {$PVM_SfP0} define loopcounter SfLp0 = {$PVM_SfLp0} } subroutine FlowSat subroutine FlowSatInc subroutine FlowSatInit # 24 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Inversion Pulse **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/InvPulseDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2002-2007 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; InvPulseDef.mod : Declaration of Inversion Pulse subroutine ; ; call ; subr InvPulse() ; ;**************************************************************** ; ; PVM_InvRFPulseArr : ; ; sp22 TPQQ[14].name : PVM_InvRFPulsePropertyArr[0].Filename ; ; PVM_IpP0 : PVM_InvRFPulseArr[0].PulseLength ; ; PVM_IpD2 : PVM_InvPulseDelay[0] ; PVM_IpD3 : PVM_InvPulseSpoilTime[0] ; PVM_IpD1 : CONFIG_amplifier _enable ; PVM_IpD0 : PVM_RampTime ; if(PVM_InvPulseOnOff == 1) { define list modlis2= {$PVM_InvPulseOffsetHz} define delay IpD0 = {$PVM_IpD0} define delay IpD1 = {$PVM_IpD1} define delay IpD2 = {$PVM_IpD2} define delay IpD3 = {$PVM_IpD3} define pulse IpP0 = {$PVM_IpP0} } subroutine InvPulse # 28 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Magnetisation Transfer **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MagTransDef.mod" 1 ;**************************************************************** ; $Source$ ; ; Copyright (c) 2005-2007 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; All Rights Reserved ; ; MagTransDef.mod: Declaration of subroutine for Magnetization ; transfer ; call ; subr MagTrans() ; ; $Id$ ;**************************************************************** ;**** Magnetisation Transfer Module **** if(PVM_MagTransOnOff) { define list modlis3 = {$PVM_MagTransFL} define delay MtD0 = {$PVM_MtD0} define delay MtD1 = {$PVM_MtD1} define delay MtD2 = {$PVM_MtD2} define delay MtD3 = {$PVM_MtD3} # 28 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/MagTransDef.mod" define pulse MtP0 = {$PVM_MtP0} define loopcounter MtLp0 = {$PVM_MtLp0} } subroutine MagTrans # 32 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Saturation Transfer **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SatTransDef.mod" 1 ;**************************************************************** ; $Source$ ; ; Copyright (c) 2018 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; All Rights Reserved ; ; SatTransDef.mod: Declaration of subroutine for Saturation transfer ; call ; subr SatTrans() ; ; $Id$ ;**************************************************************** ;**** Saturation Transfer Module **** ; PVM_SatTransFL: List of offset frequencies to be measured. ; PVM_SattransNPulses: Number of pulses used in one saturation event ; PVM_SattransPowerList: List of RF amplitudes for saturation pulses. ; Two elements long: first element: 0 Watt, ; used for one reference scan. Subsequent scans ; use amplitude as specified in UI. ; StReference: If PVM_SatTransRefScan is On then list StRfPower ; has two elements (1st is zero for reference scan) ; If RefScan is Off then lsit has only one element. ; Nevertheless we increment to avoid another 'if' # 31 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SatTransDef.mod" if(PVM_SatTransOnOff) { define list modlis5 = {$PVM_SatTransFL} define list StRfPower = {$PVM_SatTransPowerList} define delay StD0 = {$PVM_StD0} define delay StD1 = {$PVM_StD1} define delay StD2 = {$PVM_StD2} define delay StD3 = {$PVM_StD3} define pulse StP0 = {$PVM_StP0} define loopcounter StNPulses = {$PVM_SatTransNPulses} define loopcounter StReference "StReference = 1" } subroutine SatTransInit subroutine SatTransInc subroutine SatTrans # 36 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Saturation Pulse **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SatPulseDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2002-2003 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; SatPulseDef.mod : Declaration of Saturation Pulse subroutines ; call ; subr SatPulse() ; ;**************************************************************** ; ; PVM_SatRFPulseArr : ; ; sp28 DPQQ[12].name : PVM_SatRFPulsePropertyArr[0].Filename ; sp29 DPQQ[13].name : PVM_SatRFPulsePropertyArr[1].Filename ; sp30 DPQQ[14].name : PVM_SatRFPulsePropertyArr[2].Filename ; sp31 DPQQ[15].name : PVM_SatRFPulsePropertyArr[3].Filename ; ; PVM_SpP0 : PVM_SatRFPulseArr[0].PulseLength ; PVM_SpP1 : PVM_SatRFPulseArr[1].PulseLength ; PVM_SpP2 : PVM_SatRFPulseArr[2].PulseLength ; PVM_SpP3 : PVM_SatRFPulseArr[3].PulseLength ; ; PVM_SpD2 : PVM_SatPulseDelay1[0] ; PVM_SpD6 : PVM_SatPulseSpoilTime[0] ; PVM_SpD10 : PVM_SatPulseDelay2[0] ; PVM_SpD3 : PVM_SatPulseSpoilTime[1] ; PVM_SpD7 : PVM_SatPulseDelay1[1] ; PVM_SpD11 : PVM_SatPulseDelay2[1] ; PVM_SpD4 : PVM_SatPulseDelay1[2] ; PVM_SpD8 : PVM_SatPulseSpoilTime[2] ; PVM_SpD12 : PVM_SatPulseDelay2[2] ; PVM_SpD5 : PVM_SatPulseDelay1[3] ; PVM_SpD9 : PVM_SatPulseSpoilTime[3] ; PVM_SpD13 : PVM_SatPulseDelay2[3] ; if(PVM_SatPulseOnOff == 1) { define list modlis7 = {$PVM_SatPulseOffsetHz} define delay SpD0 = {$PVM_SpD0} define delay SpD1 = {$PVM_SpD1} define delay SpD2 = {$PVM_SpD2} define delay SpD3 = {$PVM_SpD3} define delay SpD4 = {$PVM_SpD4} define delay SpD5 = {$PVM_SpD5} define delay SpD6 = {$PVM_SpD6} define delay SpD7 = {$PVM_SpD7} define delay SpD8 = {$PVM_SpD8} define delay SpD9 = {$PVM_SpD9} define delay SpD10 = {$PVM_SpD10} define delay SpD11 = {$PVM_SpD11} define delay SpD12 = {$PVM_SpD12} define delay SpD13 = {$PVM_SpD13} define pulse SpP0 = {$PVM_SpP0} define pulse SpP1 = {$PVM_SpP1} define pulse SpP2 = {$PVM_SpP2} define pulse SpP3 = {$PVM_SpP3} # 66 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SatPulseDef.mod" } subroutine SatPulse # 40 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;*** FOV Saturation *** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FovSatDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2018 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; FovSat.mod : Declaration of FOV Saturation subroutine ; call: subr FovSat() ; ;**************************************************************** if (PVM_FovSatOnOff == On) { define pulse fovSatPul = {$PVM_FovSatRfLength} define list fovSatList = {$PVM_FovSatFL} define delay fovSatRamp = {$PVM_FovSatRampTime} define delay fovSatAmp = {$PVM_FovSatAmpEnable} define delay fovSatWait = {$PVM_FovSatGradWait} define delay fovSatSpoil = {$PVM_FovSatSpoilDur} # 27 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FovSatDef.mod" ; convert from ms to s "fovSatRamp = fovSatRamp / 1000" "fovSatAmp = fovSatAmp / 1000" "fovSatWait = fovSatWait / 1000" "fovSatSpoil = fovSatSpoil / 1000" } subroutine FovSat # 55 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FovSatDef.mod" ; backwards compatibility subroutine SatSlices # 44 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Black Blood **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/BlBloodDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2007 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; BlBloodDef.mod : Declaration of Black blood subroutine ; ; call ; subr BlBlood(ph0) : Black blood preparation with RF phaselist ; ph0 ; ;**************************************************************** if(PVM_BlBloodOnOff) { define list modlis8 = {$PVM_BlBloodFL} define delay BlbD0 = {$PVM_BlbD0} define delay BlbD1 = {$PVM_BlbD1} define delay BlbD2 = {$PVM_BlbD2} define delay BlbD3 = {$PVM_BlbD3} define pulse BlbP0 = {$PVM_BlbP0} } subroutine BlBlood # 48 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Trigger **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TriggerDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 1998-2003 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; All Rights Reserved ; ; TriggerDef.mod - Trigger Module ; ;**************************************************************** if (PVM_TriggerModule == On) { define delay trigDur = {$PVM_TriggerDur} define delay trigDel = {$PVM_TriggerDelay} ; convert from ms to s "trigDur = trigDur / 1000" "trigDel = trigDel / 1000" } subroutine Trigger subroutine TriggerPhase subroutine TriggerSlice # 52 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Trigger Out **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TriggerOutDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2003 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; All Rights Reserved ; $Id$ ;**************************************************************** if (PVM_TriggerOutOnOff == On) { define delay trigOutDur = {$PVM_TriggerOutDur} define delay trigOutDel = {$PVM_TriggerOutDelay} ; convert from ms to s "trigOutDur = trigOutDur / 1000" "trigOutDel = trigOutDel / 1000" } subroutine TriggerOut subroutine TriggerOutStart subroutine TriggerOutSlice subroutine TriggerOutVolume # 56 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Outer Volume Suppression **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/WsOvsDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2005-2007 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; WsOvsDef.mod: Declaration of water suppression and Outer ; volume suppression subroutines ; ; call ; subr Ovs(ph0) ; execution of OVS with ph0 phaselist ; ; subr WsOvs(ph0,ph1) : execution of OVS with ph0 and WS with ph1 ; phaselist ;**************************************************************** ;**** OuterVolumeSuppression **** if(PVM_OvsOnOff == 1) { define list Ovslist={$PVM_OvsFrequencyList} define delay OvsD0 = {$PVM_OvsD0} define delay OvsD1 = {$PVM_OvsD1} define pulse OvsP0 = {$PVM_OvsP0} } subroutine Ovs # 62 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/WsOvsDef.mod" ;*** WaterSuppression Module with OVS **** if (PVM_WsMode) { define list Wslist={$PVM_WsOffsetHz} define pulse WsP0 = {$PVM_WsP0} define pulse WsP1 = {$PVM_WsP1} define pulse WsP2 = {$PVM_WsP2} define delay WsNp0 "WsNp0 = WsP0" define delay WsNp1 "WsNp1 = WsP1" define delay WsNp2 "WsNp2 = WsP2" define list ChD1={$PVM_ChppgD1} define list ChD2={$PVM_ChppgD2} define list VpD1={$PVM_VpppgD1} define list VpD2={$PVM_VpppgD2} # 82 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/WsOvsDef.mod" } subroutine WsOvsMain subroutine WsOvs subroutine Ws # 60 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Solvent Suppression module **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/WsSatDef.mod" 1 ;****************************************************************** ; ; Copyright (c) 2002-2007 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; WsSatDef.mod - Declaration of water suppression and FOV saturation ; subroutines ; call ; subr WsSat(ph0) : execution of WS with ph0 phaselist and ; FOV saturation (as passed as argument) ; ;******************************************************************* ; Definitions for WsPpgParams are included in WsOvsDef.mod subroutine WsSatMain subroutine WsSat # 64 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Selective Inversion Recovery **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SelSliceIrDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2018 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; SlicelSelIr.mod : declaration of slice Selective Inversion ; Recovery subroutine ; call SliceSelIr() ; ; ;**************************************************************** if(PVM_SelIrOnOff) { define list IrFL = {$PVM_SelIrFL} define delay IrD0 = {$PVM_SelIrD0} ; PVM_InterInvDelay define delay IrD1 = {$PVM_SelIrD1} ; PVM_InterInvEndDelay[0] define delay IrD2 = {$PVM_SelIrD2} ; Spoiler duration define delay IrD3 = {$PVM_SelIrD3} ; Gatepulse duration define delay IrD4 = {$PVM_SelIrD4} ; risetime # 28 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SelSliceIrDef.mod" define pulse IrP0 = {$PVM_SelIrP0} define loopcounter IrL0 = {$PVM_SelIrL0} define loopcounter IrL1 } subroutine SliceSelIr # 68 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Tagging **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TagDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2018 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; TagDef.mod : Declaration of tagging subroutine ; call ; subr Tagging() ; ;**************************************************************** if(PVM_TaggingOnOff) { define list taggfreq={$PVM_TaggingFL} define delay TaggD0 = {$PVM_TaggingD0} define delay TaggD1 = {$PVM_TaggingD1} define delay TaggD2 = {$PVM_TaggingD2} define delay TaggD3 = {$PVM_TaggingD3} define delay TaggD4 = {$PVM_TaggingD4} define delay TaggD5 = {$PVM_TaggingD5} # 28 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TagDef.mod" define pulse TaggP0 = {$PVM_TaggingP0} define loopcounter TaggL0 = {$PVM_TaggingLp0} } subroutine Tagging # 72 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Noe **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/NoeDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 2007 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; NoeDef.mod: Declaration of Nuclear Overhouser Enhancement ; subroutine ; call ; subr Noe() ; ;**************************************************************** if(PVM_NoeOnOff == On) { define delay NoeD0 = {$PVM_NoeD0} define delay NoeD1 = {$PVM_NoeD1} } subroutine Noe # 76 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Evolution **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/EvolutionDef.mod" 1 ;**************************************************************** ; ; Copyright (c) 1998-2003 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; All Rights Reserved ; ; EvolutionDef.mod - Evolution Module ; ;**************************************************************** if (PVM_EvolutionOnOff == On) { define delay evolDel = {$PVM_EvolutionDelay} define list evolTime = {$PVM_EvolutionTime} } subroutine Evolution # 80 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 ;**** Drift Compensation **** # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/DriftComp.mod" 1 ;========================================================== ; subroutine for drift compensation ;========================================================== if (PVM_DriftCompNavOnOff == On) { define list txfq = {$PVM_DriftCompNavTxFrq} define list rxfq = {$PVM_DriftCompNavRxFrq} define pulse DCP0 = {$PVM_DriftCompNavP0} define delay DCD0 = {$PVM_DriftCompNavD0} define delay DCD1 = {$PVM_DriftCompNavD1} define delay DCD2 = {$PVM_DriftCompNavD2} define delay DCD3 = {$PVM_DriftCompNavD3} define delay DCD4 = {$PVM_DriftCompNavD4} define delay DCD5 = {$PVM_DriftCompNavD5} define delay DCD6 "DCD6 = 10u - de" define list dcph = { 0 } } subroutine DriftComp # 84 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/PrepModulesHead.mod" 2 # 16 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" 2 # 1 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/Fws.mod" 1 ;**************************************************************** ; ; Copyright (c) 2002-2015 ; Bruker BioSpin MRI GmbH ; D-76275 Ettlingen, Germany ; ; $Id$ ; ; All Rights Reserved ; ; Fws.mod : Declaration of Fat Water Separation Subroutines ; ;**************************************************************** # 16 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/Fws.mod" define list zeroFreq = {0} define delay FwsD0={$PVM_FwsD0} define list vardel1={$PVM_FwsDList1} define list vardel2={$PVM_FwsDList2} subroutine FwsLoop subroutine FwsDelTE1 subroutine FwsDelTE2a subroutine FwsDelTE2b # 17 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" 2 preset off # 21 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" define delay denab "denab = d3 - de" define delay d5m40u "d5m40u = d5 - 40u" ; no auto increment desired: define list localFq1 = {$ACQ_O1_list} # 30 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" define loopcounter lc1 "lc1 = ds" if (ACQ_jobs_size > 1) { 3u setrtp1|1 \n 7u setrtp1^1 \n 1m swj1 \n 1m dccorr1 \n 3u setrtp1|1 \n 187u setrtp1^1 \n 1u setrtp1|1 \n 9u setrtp1^1 \n 1m swj2 \n 1m dccorr2 \n 3u setrtp1|1 \n 7u setrtp1^1 \n 1m swj1 \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 } } else { 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 } } # 44 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" grad_zero_for_gs ;pre-setting the ACQ_spatial_phase_1 counter for the dummy scans: decr, ACQ_spatial_phase_1.dec lo to decr times l1 ; DS*ACQ_rare_factor subr FlowSatInit ;EXEC_begin FlowSatInit FlowSatInit() # 54 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FlowSatDef.mod" if(PVM_InFlowSatOnOff == 1) { 0u modlis4.res 0u flowSatGrad.res } ;EXEC_end FlowSatInit # 51 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" subr SatTransInit ;EXEC_begin SatTransInit SatTransInit() # 48 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SatTransDef.mod" if(PVM_SatTransOnOff) { 0u modlis5.res 0u StRfPower.res } ;EXEC_end SatTransInit # 52 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" # 54 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" 0u recph ph0 start, 0u ACQ_spatial_phase_1.store acc, 0u subr DriftComp ;EXEC_begin DriftComp DriftComp() # 23 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/DriftComp.mod" if(PVM_DriftCompYesNo == Yes) { 20u reload B0 ;close to nav acq if(PVM_DriftCompNavOnOff == On) { 10u swj2 1u setrtp1|1 \n 9u setrtp1^1 ;lasts 10u 10u rxfq(receive):f1 5u txfq:f1 DCD0 gatepulse 1 (DCP0 :sp55 dcph):f1 DCD6 ;is 10u-de (rde1 sync de1 adc2 dcph syrec) (1u 1u dcph:r):f1 (de) ;is de DCD1 cpdngs18:f1 169u ;delay for scan shift 10u eoscnp #1 DCD2 grad_ramp{PVM_DriftCompNavSpoilAmp,PVM_DriftCompNavSpoilAmp,PVM_DriftCompNavSpoilAmp} DCD3 ;delay after eoscnp #0 requires about 45u DCD4 swj1 ;requires about 65u 3u setrtp1|1 \n 7u setrtp1^1 ;lasts 10u DCD5 DCD2 grad_off } } ;EXEC_end DriftComp # 57 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" if(PVM_BlBloodOnOff == On) { subr TriggerPhase ;EXEC_begin TriggerPhase TriggerPhase() # 37 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TriggerDef.mod" if (PVM_TriggerMode == per_PhaseStep) { ;EXEC_begin Trigger Trigger() # 23 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TriggerDef.mod" if (PVM_TriggerModule == On) { trigDur setnmr3|6 trigDur trignl1 trigDur trigpe3 trigDur setnmr3^6 trigDel } ;EXEC_end Trigger } ;EXEC_end TriggerPhase # 61 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" } subr BlBlood ;EXEC_begin BlBlood BlBlood(phase ph0) # 30 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/BlBloodDef.mod" if(PVM_BlBloodOnOff) { 10u modlis8:f1 10u BlbD3 gatepulse 1 (BlbP0 :sp46 ph0):f1 BlbD2 grad_ramp{0, 0, PVM_BlbGrad} 0u modlis8.inc 10u 10u modlis8:f1 10u BlbD3 gatepulse 1 (BlbP0 :sp46 ph0):f1 BlbD2 grad_off BlbD1 modlis8.inc grad_ramp{0, 0, PVM_BlBloodSpoilAmp} BlbD0 grad_off 0u modlis8.inc } ;EXEC_end BlBlood # 63 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" subr TriggerPhase ;EXEC_begin TriggerPhase TriggerPhase() # 37 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TriggerDef.mod" if (PVM_TriggerMode == per_PhaseStep) { ;EXEC_begin Trigger Trigger() # 23 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TriggerDef.mod" if (PVM_TriggerModule == On) { trigDur setnmr3|6 trigDur trignl1 trigDur trigpe3 trigDur setnmr3^6 trigDel } ;EXEC_end Trigger } ;EXEC_end TriggerPhase # 64 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" subr SliceSelIr ;EXEC_begin SliceSelIr SliceSelIr() # 33 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SelSliceIrDef.mod" if(PVM_SelIrOnOff == On) { "IrL1=IrL0" 10u IrFL.res irloop19, 10u IrFL :f1 IrD4 grad_ramp{0, 0, PVM_SelIrGradAmp*100} IrD3 gatepulse 1 (IrP0:sp42 ph0):f1 IrD4 grad_off if "IrL1 > 1" { IrD0 } "IrL1 = IrL1 - 1" 0u IrFL.inc 0u grad_matrix.inc lo to irloop19 times IrL0 IrD2 grad_ramp{0, 0, PVM_SelIrSpoilAmp} IrD4 grad_off IrD1 0u IrFL.res 0u grad_matrix.res } ;EXEC_end SliceSelIr # 65 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" slice, 10u fq8(receive):f1 ;----------------------- preparation modules ----------------------- subr TriggerSlice ;EXEC_begin TriggerSlice TriggerSlice() # 45 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TriggerDef.mod" if (PVM_TriggerMode == per_Slice) { ;EXEC_begin Trigger Trigger() # 23 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TriggerDef.mod" if (PVM_TriggerModule == On) { trigDur setnmr3|6 trigDur trignl1 trigDur trigpe3 trigDur setnmr3^6 trigDel } ;EXEC_end Trigger } ;EXEC_end TriggerSlice # 70 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" subr FlowSat ;EXEC_begin FlowSat FlowSat() # 33 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FlowSatDef.mod" if(PVM_InFlowSatOnOff == 1) { flow120, SfD0 modlis4:f1 grad_ramp{0, 0, flowSatGrad*100} SfD1 gatepulse 1 (SfP0 :sp44):f1 SfD2 grad_ramp{0, 0, PVM_InFlowSatSpoilGrad} SfD0 grad_off } ;EXEC_end FlowSat # 71 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" subr Tagging ;EXEC_begin Tagging Tagging() # 32 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/TagDef.mod" if(PVM_TaggingOnOff) { 0u taggfreq.res if(PVM_TaggingMode == DANTE) { 10u taggfreq:f1 TaggD4 grad_ramp{PVM_TaggingGradAmp1, PVM_TaggingGradAmp2,0} TaggD5 gatepulse 1 (TaggP0: sp45):f1 tag121, TaggD2 TaggD5 gatepulse 1 (TaggP0: sp45):f1 lo to tag121 times TaggL0 TaggD4 grad_off if(PVM_TaggingDir == Tagging_grid) { TaggD1 taggfreq.inc 10u taggfreq:f1 TaggD5 gatepulse 1 TaggD4 grad_ramp{PVM_TaggingGradAmp3,PVM_TaggingGradAmp4,0} (TaggP0: sp45):f1 tag222, TaggD2 TaggD5 gatepulse 1 (TaggP0: sp45):f1 lo to tag222 times TaggL0 TaggD4 grad_off } } if(PVM_TaggingMode == SPAMM) { 10u taggfreq:f1 TaggD5 gatepulse 1 (TaggP0: sp45):f1 tag323, TaggD2 grad_ramp{PVM_TaggingGradAmp1,PVM_TaggingGradAmp2,0} TaggD4 grad_off TaggD5 gatepulse 1 (TaggP0: sp45):f1 lo to tag323 times TaggL0 if(PVM_TaggingDir == Tagging_grid) { TaggD1 taggfreq.inc 10u taggfreq:f1 TaggD5 gatepulse 1 (TaggP0: sp45):f1 tag424, TaggD2 grad_ramp{PVM_TaggingGradAmp3,PVM_TaggingGradAmp4,0} TaggD4 grad_off TaggD5 gatepulse 1 (TaggP0: sp45):f1 lo to tag424 times TaggL0 } } 10u TaggD3 grad_ramp{PVM_TaggingSpoilAmp,0,0} TaggD4 grad_off TaggD0 } ;EXEC_end Tagging # 72 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" subr FovSat ;EXEC_begin FovSat FovSat() # 34 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FovSatDef.mod" if (PVM_FovSatOnOff == On) { 5u PVM_FovSatGrad.res 5u fovSatList.res fov25, fovSatRamp grad_ramp{PVM_FovSatGrad[]} 10u fovSatList:f1 fovSatAmp gatepulse 1 (fovSatPul :sp41):f1 fovSatSpoil grad_ramp{0, 0, PVM_FovSatSpoilAmp} 0u fovSatList.inc 0u PVM_FovSatGrad.inc lo to fov25 times PVM_FovSatNSlices fovSatRamp grad_off fovSatWait } ;EXEC_end FovSat # 73 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" subr SatTrans ;EXEC_begin SatTrans SatTrans() # 73 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SatTransDef.mod" if(PVM_SatTransOnOff) { 10u StRfPower:f1 pulse26, StD1 modlis5:f1 StD0 gatepulse 1 StP0: sp43(currentpower):f1 lo to pulse26 times StNPulses StD2 grad_ramp{0, 0, PVM_SatTransSpoil.ampl} StD3 grad_off } ;EXEC_end SatTrans # 74 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" subr FatSup ;EXEC_begin FatSup FatSup() # 32 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FatSupDef.mod" if (PVM_FatSupPerform == Yes) { 10u fatSupList:f1 fatSupAmp gatepulse 1 (fatSupPul :sp40):f1 fatSupSpoil grad_ramp{0, 0, PVM_FatSupSpoilAmp} fatSupRamp grad_off fatSupWait } ;EXEC_end FatSup # 75 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" # 77 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" ;---------------------------- excitation --------------------------- d9 grad_ramp{g1, 0, g1} ;TR spoiler d3 grad_ramp{0, 0, g0} localFq1:f1 ;slice on d8 gatepulse 1 (p0:sp0 ph0):f1 ;exc pulse d2 grad_ramp{g2, 0, g7} ;read deph d1 grad_off ;TE-fill 1 subr FwsDelTE1 ;EXEC_begin FwsDelTE1 FwsDelTE1(any localFq1) # 33 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/Fws.mod" if (PVM_FwsOnOff==On) { FwsD0 zeroFreq:f1 ;min is 10u 10u localFq1:f1 } ;EXEC_end FwsDelTE1 # 87 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" # 89 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" ;--------------------------- refocusing ---------------------------- echo1, 0u ACQ_spatial_phase_1.restore echo, d4 grad_ramp{0, 0, g0} d8 gatepulse 1 (p1:sp1 ph1):f1 ;pi-pulse d5 grad_ramp{g8, ACQ_spatial_phase_1*g4, g3-ACQ_spatial_phase_2*g6} ;enc+sli-reph d6 grad_off ;TE-fill 2a subr FwsDelTE2a ;EXEC_begin FwsDelTE2a FwsDelTE2a(any localFq1) # 42 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/Fws.mod" if (PVM_FwsOnOff==On) { vardel1 zeroFreq:f1 ;min is 10u 10u localFq1:f1 } ;EXEC_end FwsDelTE2a # 99 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" # 101 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" denab grad_ramp{g5, 0, 0} ;read-on + acq (rde1 sync de1 adc1 syrec) (1u 1u ph1:r):f1 (de) aqq cpdngs17:f1 d6 grad_off ;TE-fill 2b subr FwsDelTE2b ;EXEC_begin FwsDelTE2b FwsDelTE2b(any localFq1) # 51 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/Fws.mod" if (PVM_FwsOnOff==On) { vardel2 zeroFreq:f1 ;min is 10u 10u localFq1:f1 } ;EXEC_end FwsDelTE2b # 108 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" # 110 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" d5m40u grad_ramp{g8, -ACQ_spatial_phase_1*g4, g3+ACQ_spatial_phase_2*g6};enc+sli-reph2 40u eoscnp #0 0u ACQ_spatial_phase_1.inc lo to echo times PVM_RareFactor # 117 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" lo to echo1 times PVM_NEchoImages ;----------------------------- flipback ---------------------------- if( PVM_FlipBackOnOff == On) { d4 grad_ramp{0, 0, g0} ;slice on: d4 = d3-d8 d8 gatepulse 1 ;slice on (p1:sp1 ph1):f1 ;pi-pulse # 128 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" d1 grad_off d2 grad_ramp{g2, 0, 0} ;read-dephase d3 grad_ramp{0, 0, g0} gatepulse 1 ;slice on (p0:sp0 ph3):f1 ;flipback } d3 grad_off ;---------------------------- slice loop --------------------------- 0u grad_matrix.inc d0 localFq1.inc subr FlowSatInc ;EXEC_begin FlowSatInc FlowSatInc() # 46 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/FlowSatDef.mod" if(PVM_InFlowSatOnOff == 1) { 0u modlis4.inc } ;EXEC_end FlowSatInc # 140 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" # 142 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" lo to slice times NSLICES d10 subr FwsLoop ;EXEC_begin FwsLoop FwsLoop(any acc) # 22 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/Fws.mod" if (PVM_FwsOnOff==On) { 0u vardel1.inc 0u vardel2.inc lo to acc times PVM_FwsLoop } ;EXEC_end FwsLoop # 145 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" 0u ipp0 0u recph ph0 0u ipp3 # 151 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" ;-------------------------- averaging loop ------------------------- lo to acc times NA 0u rpp0 0u recph ph0 0u rpp3 ;----------------------------- 2d-loop ----------------------------- "lc1 = lc1 - 1" ; this makes if "lc1>=0" goto start ; dummy scans lo to start times l2 ; ACQ_size[1]/ACQ_rare_factor # 164 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" ;----------------------------- 3d-loop ----------------------------- 0u ACQ_spatial_phase_2.inc lo to start times l3 ; ACQ_size[2] ;---------------------- motion averaging loop ---------------------- lo to start times NAE # 172 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" ;-------------------------- sattrans loop -------------------------- subr SatTransInc ;EXEC_begin SatTransInc SatTransInc() # 58 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/SatTransDef.mod" if(PVM_SatTransOnOff) { 0u modlis5.inc if "StReference == 1" { 0u StRfPower.inc "StReference = 0" ;switch off after 1st 'inc' } } ;EXEC_end SatTransInc # 173 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" ;------------------------- repetition loop ------------------------- subr Evolution ;EXEC_begin Evolution Evolution() # 19 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/EvolutionDef.mod" if (PVM_EvolutionOnOff == On) { if (PVM_EvolutionMode == Variable_Delay) { evolTime evolTime.inc } else { evolDel } } ;EXEC_end Evolution # 176 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" lo to start times NR # 180 "/opt/PV-7.0.0/exp/stan/nmr/lists/pp/RARE.ppg" if (ACQ_scan_type != Scan_Experiment) \n{ \n goto start \n} exit ph0 = 0 2 ph1 = 1 ph3 = 2 0