-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Andrea--

 Please use the following snippet if you wish the energy over the
ensemble:

enoe = AvePot(create_NOEPot('enoe','hbond.tbl',
                            esim=esim.member().subSim()))

enoe.setScale( 30. ) #initial value
enoe.setDOffset(0.)
enoe.setHardExp(2 )
enoe.setThreshold(0.1)
enoe.setPotType( "hard" )
enoe.setAveType( "sum" )

potList.append( enoe ) 

rampedParams.append(MultRamp(2.0,30.0,
                             "enoe.setScale( VALUE );" + 
                             "command('noe scale all VALUE end')"))

This is usually appropriate for deduced hydrogen bond restraints. If,
instead the term corresponds to true NOE data, the 1/r^6 average should
be applied to the ensemble and the term should instead be created as:

enoe = create_NOEPot('enoe','file.tbl')

I will update the example script to make this clearer.

best regards--
Charles
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFIh6JAPK2zrJwS/lYRAknlAJ43hfTqyUwnU6PJwjhK1h1dKwVfIwCfROd6
gF0GF2GX7tjKZ9hI53cE3P8=
=BcEd
-----END PGP SIGNATURE-----

Reply via email to