JuliaPhysics / JuliaPhysics/Unitful.jl
dBW missing, attempts to define it fail.
Open
logarithmic
new units
- Dominant language
- Julia
- Stars
- 675
- Forks
- 124
- Avg merge
- 3h 38m
- Merged PRs (30d)
- 1
Description
In RF, we use dBW sometimes and not just dBm. Attempting to define it fails as follows:
julia> @logscale dBW "dBW" dBW 30u"dBm" 10 false
ERROR: invalid redefinition of constant dBW
I also tried the following and got an even weirder message:
julia> @unit dBW "dBW" dBW 30u"dBm" false
ERROR: DimensionError: mW² and 1000.0 mW are not dimensionally compatible.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.