Hi list,

On 8/6/07, Michael SCHINDLER <[EMAIL PROTECTED]> wrote:
> > Well, I do know that there are scipy users on that list. You're not
> > alone ... :-)

I rarely use scipy but I do use PyX a lot with numpy arrays, which
seems to be what is really being discussed, so maybe I am qualified to
comment.

>
> > > Rather than renaming the old 'list' class you could add the above class
> > > as something like a 'vector' or 'array' class.
>
> > Hmmm. Ok, both could be done. Still, even after a few days, I still
> > very much like the idea of using lists and points as the new names.
> > It would be nice to get some feedback from others (users and
> > developers ... :-) ).
>
> +1 for renaming the data into "points": I always have to look up how
> the current "list" is to be created. In most cases, I use a "zip(a,
> b)" for that, meaning that the new "lists" will make it more easy for
> me.
>

I would also favour remaning the current "list" as "points".

For the new class, I would be happy with either "lists" or "vectors",
but not with any of the other suggestions.

> I suggest, however, to use "coordinates" or "values" instead of
> "lists", as all names such as "array", "vector", "list", "lists" do
> not specify what is stored and thus do not indicate the logics of its
> use.
>

No, I think this is wrong. To me "values" is too vague and
"coordinates" implies a list of (x, y) pairs - think about the meaning
of "co" in "coordinate". This is the opposite of what the new class
provides, which is a pair of lists, not a list of pairs. That is why I
favour "lists" or "vectors". The only problem with "vectors" is that
there is a potential ambiguity between "vector" in the numpy sense (a
1-dimensional array of values) and "vector" in the geometry sense,
which might be confusing for some users.

Cheers

Will


--

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to