Page 1 of 1
about the ./dymprefactor.pl script
Posted: Tue Sep 13, 2005 3:45 am
by chwang45
The script, dymprefactor.pl says after doing 'dymprefactor <minimum eigen values> <transition eigen values>', "The prefactor for this system (in units of inverse cm) is ..."
Is the unit right?
Posted: Tue Sep 13, 2005 2:59 pm
by buber
It is, you need to convert it to Hz for the standard usage of it. Do that by multiplying by the speed of light in cm/s and divide by 10e12. That should do it. (This gives the prefactor in units of TerraHertz.)
Graeme, my original script also gave the prefactor in Hz but the new one does not. Is there a reason that the script was changed? Was there a bug in the previous version?
Posted: Tue Sep 13, 2005 10:47 pm
by graeme
I'm not sure why that would have been changed -- I certainly didn't change it. Maybe Andri knows? Feel free to change it back; I think that units of seconds makes far more sense for a prefactor.
Posted: Tue Sep 13, 2005 10:52 pm
by buber
Well, these are the lines that used to be in there:
$c=2.99792458e10;
$prehertz=$prefactor*$c/10e12;
print " (in units of TerraHertz) is $prehertz\n";
Maybe one of you guys could fix it? It would take me longer to figure out how to use CVS again (I only use it once or twice a year...).
Posted: Tue Sep 13, 2005 11:04 pm
by graeme
I've made the change in CVS. It's really easy to make these changes. If you have checked out the vtstscripts using an account on theory, you can make your changes permanent by typing: cvs commit
Posted: Wed Sep 14, 2005 2:52 pm
by andri
I don't recall making any changes to it. Feel free to make any changes / enhancements you want to.