python-quantities-developers team mailing list archive
-
python-quantities-developers team
-
Mailing list archive
-
Message #00058
Re: almost ready to post a request for comment at numpy discussion
Sounds good.
Here are some miscellaneous notes:
1. In the tutorial, the part describing simplification in unambiguous
situations is vague. It might be good to say that "unambiguous" means the
units cancel directly
2. I still think units when printed need more spacing between terms. The
units term seems cramped
3. Is there a general rule for how plural vs. non-plural unit names are
handled by quantities? I ask because f = Quantity(1, 'feet') works but the
UnitQuantity feet is not defined (so q = 1* feet does not work). It might be
useful to mention how this works in the tutorial as this seems like the sort
of thing that could frustrate new users. Alternatively, Quantities could
define a bunch of common plural units, but this seems like a lot of extra
variables.
Can you tell me which numpy mailing list you will be posting to? I would
like to sign up so I can listen to the discussion.
Have you thought about what you want to do with ufuncs?
One further thought: is there an easy way to generate a list of all the
units and constants with descriptions in the documentation? If so, I think
it would be useful to have on the doc page.
Best Regards,
John
On Mon, Feb 9, 2009 at 12:41 PM, Darren Dale <dsdale24@xxxxxxxxx> wrote:
> I added support for customizable default units today. Yesterday I did a bit
> of work to use numpy's sphinx extensions so we can pass through numpy's
> docstrings and document the API with sphinx, I changed the documentation
> decorator a little bit, extended the tutorial, implemented the regular
> expression to properly convert integer powers to unicode superscript
> characters, squashed a bunch of bugs, and there are some other improvements
> I'm forgetting at the moment. I posted some new snapshots at
> packages.python.org/quantities, please give them a try and let me know if
> you find any problems.
>
> I would like to post a request for comment at numpy discussion in the next
> couple of days. I dont think I'm going to make any more changes to the
> codebase for now, and I'm not planning to tag any new releases, but I need
> to put a page together discussing how the package is designed. When thats
> done, and the snapshots have seen some use, I'll make an announcement on the
> numpy mailing list, hopefully next monday.
>
> Darren
>
> _______________________________________________
> Mailing list: https://launchpad.net/~python-quantities-developers<https://launchpad.net/%7Epython-quantities-developers>
> Post to : python-quantities-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~python-quantities-developers<https://launchpad.net/%7Epython-quantities-developers>
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References