-
Hopefully this is a quick question. I'm looking at writing some code for spectroscopy calculations. Oftentimes, physicists use cm^-1 and a unit of energy (of an atomic state, for example ). Is it possible to do everything is S.I. (or isq) but have cm also be defined as a energy^-1 type as well as a length type? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I am afraid that I do not know enough about this domain. I was not aware that it is possible to measure energy with cm^-1. I assume that it is similar to Natural Units where some constants are made |
Beta Was this translation helpful? Give feedback.
OK, I did some reading, and I think I know now what you are asking for. To answer your question directly, it is impossible for the same SI unit to measure both length and energy quantities, as the SI is explicit about what those units describe.
However, the library provides Faster than Lightspeed Constants that allow you to be physically correct and not impact the runtime performance or the precision of the result. For example, you can write: