It would be handy to have a flag which specifies the unit system toe.g. cgs.
Right now a radius array might contain a Quantity with [1,2,3,4] 1.5e10 cm instead of [1,2,3,4] au.
One then needs to call .decompose().to('au').value to make sure its the correct unit.
Add a new flag to Data(...., unit_system="cgs")
Apply the decompose step somewhere in getters of field or scalar. Maybe also grid.
It would be handy to have a flag which specifies the unit system toe.g. cgs.
Right now a radius array might contain a Quantity with
[1,2,3,4] 1.5e10 cminstead of[1,2,3,4] au.One then needs to call
.decompose().to('au').valueto make sure its the correct unit.Add a new flag to Data(...., unit_system="cgs")
Apply the decompose step somewhere in getters of field or scalar. Maybe also grid.