Exp.Mode

A place to report and discuss potential bugs
Post Reply
amateur
Newbie
Posts: 1
Joined: Mon Jul 27, 2015 6:16 am

Exp.Mode

Post by amateur »

Code: Select all

Exp.Mode = angle;
where angle is a single number representing the k_tilt angle in radian produces an error message:

Code: Select all

Error using p_excitationgeometry (line 80)
Exp.Mode must contain 1 or 2 angles (k tilt angle, polarization angle
Error in D:\easyspin-5.0.11\easyspin\resfreqs_matrix.p>resfreqs_matrix (line
155)

Error in D:\easyspin-5.0.11\easyspin\pepper.p>pepper (line 639)

Error in D:\easyspin-5.0.11\easyspin\pepper.p>pepper (line 127)
It works fine with an array like:

Code: Select all

Exp.Mode = [angle 0];
but single angle should be allowed.

Best wishes,

Joscha
Stefan Stoll
EasySpin Creator
Posts: 1057
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: Exp.Mode

Post by Stefan Stoll »

For single input, it's not clear what the obvious choice for the default value for the second parameter (polarization angle) is. Therefore, EasySpin currently requires both the beam tilt angle and the polarization angle.
Post Reply