We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
If I have a quantity with a unit, e.g.,
t = 50 * pq.ms
then
t > 1
returnsTrue whereas
True
t.simplified > 1
returnsFalse. Arguably, both should raise a ValueError just like
False
t - 1
does in this example.
If the community agrees, I would be happy to prepare a pull request to change the behavior.