Add sqrt flux and sqrt power.#91
Conversation
These are useful in the analysis of microwave circuits where we deal with "power waves" having dimensions of square root of power.
|
overall looks good, but can SqrtFlux be renamed something more specific (maybe SqrtFrequencyFlux). for example there are already dimensions for MagneticFlux and LuminousFlux? you do need to update also do you want to add |
"Flux" means "something per time", which is why I didn't put any other words in the name. I think "Frequency" would be misleading because of the famous confusion between cyclic frequency, angular frequency, and oscillation period. Of course I'd be happy to find another name, I just haven't thought of one. Any suggestions?
Thanks. Done.
Not sure what that means. Please explain. |
I think a better name would make the class name more informative
nvm, sqrtHz already exists as a unit but you should give it its dimension (see the lines around it) TypedUnits/tunits/units_with_dimension.py Line 1013 in c8dea2a |
Sure. Can you make a suggestion? |
|
Power and flux can be used to describe noise, but they are surely not restricted to that case. Adding the word "noise" to these dimensions would be a mistake.
Oh, that's interesting as it is a useful unit for SqrtFlux. But I do not understand your comment
Please explain. |
Change this line TypedUnits/tunits/units_with_dimension.py Line 1013 in c8dea2a sqrtHz = core.SqrtFlux(core.default_unit_database.known_units['sqrtHz'])
if you are sure there is not a better name then we can keep SqrtFlux |
|
There is no rush. I will ask others for opinions. Better to get a good name :-) |

These are useful in the analysis of microwave circuits where we deal with "power waves" having dimensions of square root of power.
I need some help with how to update
units_with_dimensions.py.