Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use tabulated values of potential/dipole/wave functions instead of (built-in or self-written) model function?

0
Posted

Can I use tabulated values of potential/dipole/wave functions instead of (built-in or self-written) model function?

0

Yes, in that case you should use the functions pot_interp.m or dip_interp.m or wav_interp.m which perform an interpolation of tabulated potential functions, dipole moment functions, or initial wave functions, respectively, using Matlab’s interpolation routines in any number of dimensions, e. g., various interpolation techniques, such as spline polynomials. Examples in the section ‘Molecular Vibrations’ in the ‘Demos’ may serve as examples for the use of this routine. Note that the functions pot_interp.m, dip_interp.m, and wav_interp.m also provide convenient unit conversions for the tabulated of coordinates and energies/dipoles for cases where the values are not given in atomic units. Matlab is, however, very picky regarding the format for multidimensional problems, see the documentation on input files containing tabulated values.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123