UnitsNet icon indicating copy to clipboard operation
UnitsNet copied to clipboard

ReciprocalVolume?

Open chucker opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. I have a particulate matter sensor that gives measured values in µg/m^3 (so I can use Density), but then also measured counts in #/m^3.

Wikipedia seems to call this https://en.wikipedia.org/wiki/Number_density.

I've also found the ReciprocalArea type, which is pretty close, except I need ReciprocalVolume.

Describe the solution you'd like NumberDensity and/or ReciprocalVolume types would be nice, with factory methods such as FromInverseCubicMeter.

chucker avatar Jun 13 '23 14:06 chucker

(NumberConcentration might also be the correct name here. I'm not sure.)

chucker avatar Jun 13 '23 14:06 chucker

See also: https://en.wikipedia.org/wiki/Concentration#Number_concentration

ricardoboss avatar Jun 13 '23 14:06 ricardoboss

This feels a tiny bit fringe/exotic, but I'll accept it.

From googling a bit, it seems number density is maybe the more commonly used term. I have no hard preference, but reciprocal volume seems the least common of them.

I'd suggest NumberDensity, alternatively NumberConcentration. If you want to go ahead with a pull request, steps are outlined here: https://github.com/angularsen/UnitsNet/wiki/Adding-a-New-Unit

I'm happy to assist.

angularsen avatar Jun 17 '23 01:06 angularsen

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 08 '24 18:07 github-actions[bot]

@ricardoboss made a PR (#1409); reopen

chucker avatar Jul 11 '24 12:07 chucker

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 11 '24 02:08 github-actions[bot]

This issue was automatically closed due to inactivity.

github-actions[bot] avatar Aug 19 '24 02:08 github-actions[bot]