Closed drewrotunno closed 1 year ago
I've tried reproducing this using the first example from the intro notebook , but with Bz specified in defineBasis
and I do not have any issues. I'm running current 3.2.0 ARC.
Could you provide a little more detail about your situation? A traceback of the error would be helpful. No function that uses Bz should care what the numerical type is. Is there a chance you've miscounted the number of arguments and you are accidentally setting maxL
to a float (which will definitely give errors).
Hi @drewrotunno , could you please provide minimal code example that reproduces the error you observe, together with error trace?
Closing this issue due to inactivity. Please reopen if issue persists.
Howdy, I think that dihm nailed this, I likely just mixed my arguments. I couldn't find the script which produced this error, so I can't confirm, but will happily accept that it was user error! Thanks all for the great package, I use it often!
I get an error when I use a value of Bz that is not an integer in the StarkMap.definebasis arguments. I think just changing the function declaration to Bz=0.0 might fix this, as the error appears to be when this function passes to the hyperfine energy level function.