[AstroPy] How do you create a dimensionless Cartesian coordinate?

Demitri Muna demitri.muna at gmail.com
Wed Oct 23 14:03:45 EDT 2013


On Oct 23, 2013, at 1:59 PM, Erik Tollerud <erik.tollerud at gmail.com> wrote:

> The reason
> this is necessary is that the default argument to `unit` is None, and
> None means "no unit given", rather than "dimensionless".


I’ve been thinking about this. Is there a difference here? I kind of want do to do:

Something(value, unit=None)

to mean it’s dimensionless.

_________________________________________
Demitri Muna

Department of Astronomy
Il Ohio State University

http://scicoder.org/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20131023/7e78336b/attachment.html>


More information about the AstroPy mailing list