Unitful.jl icon indicating copy to clipboard operation
Unitful.jl copied to clipboard

List all units and constants in the docs

Open rafaqz opened this issue 2 years ago • 7 comments

Its not easy to find e.g. the Stefan Bolzmann constant. Searching the docs for Stefan returns nothing.

It would be nice if there was a page listing all the docs for all of these.

rafaqz avatar Mar 04 '23 23:03 rafaqz

Agreed, I just resorted to searching github to find the stephan boltzman constant, the boltzman constant and the charge of the electron. Maybe the constants could be re-exported into Unitful.Constants for easier tab completion as well?

ggggggggg avatar Mar 22 '23 15:03 ggggggggg

Are you aware of PhysicalConstants.jl?

giordano avatar Mar 22 '23 15:03 giordano

Yes, but there are already lots of useful constants in Unitful, I prefer to use those and have them easily accessible when it has what I need already.

ggggggggg avatar Mar 22 '23 16:03 ggggggggg

Totally, why use another package when we have the constants already.

rafaqz avatar Mar 22 '23 17:03 rafaqz

Because I don't think constants should live here.

giordano avatar Mar 22 '23 17:03 giordano

Especially since they are not well defined at all in this package: #81.

giordano avatar Mar 22 '23 17:03 giordano

Thats a good point about Float64.

PhyisicalUnits.jl is not listed in the readme here, adding it would be a good step.

But still, will these constants be deleted here?

rafaqz avatar Mar 23 '23 09:03 rafaqz