Open nstarman opened 4 years ago
Yeah, streamspraydf
does not fully support SkyCoord
s and Quantity
inputs. PR would be welcomed (but we also need some unit tests of streamspraydf
first...)
It could just be a decorator that does .to_value(<unit>)
on specified inputs. That might be an easy PR ?
I ran https://streamtools.readthedocs.io/en/latest/notebooks/streamspray_example.html, but initialized the orbit with a SkyCoord, not list of floats. The function
streamspraydf.sample
throws a unit conversion error becausero
is a quantity, but the internals ofstreamspray.rtide
strips the units from other distances.