Timeline for Unit conversion of input to/output of public functions/methods
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 8, 2019 at 4:12 | comment | added | user35915 | @candied_orange in astropy.units, if you're talking about that, you would get 50 kilogram-meters and if you multiplied that by cm and divided by s**2 you could convert it to J. For my package the idea would be to give users the possibility to input e.g. an energy in any unit (J, eV, erg) and to have astropy convert it to some default energy unit. Then you can internally just use the value (float or numpy array) instead of the Quantity in astropy linguo. | |
| Jun 7, 2019 at 21:35 | answer | added | StackOverthrow | timeline score: -2 | |
| Jun 7, 2019 at 16:27 | comment | added | candied_orange | I'm still trying to get me head around your use case for this. If I have 5 kg and 10 meters does multiplying them in this package give me 50 kilogram-meters? 50J? Or does it just convert from system to system like feet to meters? | |
| Jun 7, 2019 at 15:10 | answer | added | Doc Brown | timeline score: 2 | |
| Jun 7, 2019 at 10:55 | review | First posts | |||
| Jun 7, 2019 at 14:03 | |||||
| Jun 7, 2019 at 10:50 | history | asked | user35915 | CC BY-SA 4.0 |