[Numpy-discussion] Changes to generalized ufunc core dimension checking

Joseph Fox-Rabinovitz jfoxrabinovitz at gmail.com
Thu Mar 17 10:09:38 EDT 2016


On Thu, Mar 17, 2016 at 10:03 AM, Nathaniel Smith <njs at pobox.com> wrote:
> On Mar 17, 2016 1:22 AM, "Feng Yu" <rainwoodman at gmail.com> wrote:
>>
>> Hi,
>>
>> Here is another example.
>>
>> To write pix2ang (and similar functions) to a ufunc, one may want to have
>> implicit scalar broadcast on `nested` and `nsides` arguments.
>>
>> The function is described here:
>>
>>
>> http://healpy.readthedocs.org/en/latest/generated/healpy.pixelfunc.pix2ang.html#healpy.pixelfunc.pix2ang
>
> Sorry, can you elaborate on what that function does, maybe give an example,
> for those of us who haven't used healpy before? I can't quite understand
> from that page, but am interested...
>
> -n

Likewise. I just took a look at the library and it looks fascinating.
I might just use it for something fun to learn about it.

    -Joe



More information about the NumPy-Discussion mailing list