Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReciprocalVolume? #1260

Open
chucker opened this issue Jun 13, 2023 · 3 comments
Open

ReciprocalVolume? #1260

chucker opened this issue Jun 13, 2023 · 3 comments

Comments

@chucker
Copy link

chucker commented Jun 13, 2023

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
Copy link
Author

chucker commented Jun 13, 2023

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

@ricardoboss
Copy link

@angularsen
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants