Emacs Speaks NONMEM Pirana Detection
Emacs Speaks NONMEM detects if Pirana assumptions are in effect in the specified directory by:
- Checking if Emacs Speaks NONMEM is aware of a Pirana executable
- If PLT tools and PDx POP is not used
- If the control stream has extension
.mod
- When either:
pirana.dir
exists (created by pirana in the current directory)- Pirana support is enabled (Toggled under the "Use" menu)
Reference Models
Emacs Speaks NONMEM supports the reference models of Pirana and census. Emacs Speaks NONMEM links to the reference files if the user puts one puts the following in the control stream:
; Ref=001.mod ; Parent: 001 ; etc
In addition the default header for Pirana includes the reference model line:
;; Ref:
To allow user specification of the reference model. It needs to be at the top so that Pirana will detect the reference model.
Putting covariance comments on off-diagonal blocks
Emacs Speaks NONMEM can automatically put the COV
comment on off-diagonal
estimates when this option is specified. Not only does EsN place it in the
appropriate place, but it may also remove it when its not appropriate. For
example, the source:
$OMEGA BLOCK(2) 0 ; 2 - IIV Cl 1 ; COV Cl~V 2 ; 3 - IIV V
will change the covariance specification when adding the estimate 3 above the 0 estimate (while preserving the rest of the variable label). This results in:
$OMEGA BLOCK(2) 3 0 ; COV IIV Cl 1 ; 3 - Cl~V 2 ; COV IIV V
This is enabled by default.
Included Files
Included files are optionally linked