[SciPy-Dev] scipy.stats

josef.pktd@gmai... josef.pktd@gmai...
Sat Apr 21 15:39:45 CDT 2012


On Sat, Apr 21, 2012 at 4:22 PM, nicky van foreest <vanforeest@gmail.com> wrote:
> Hopefully this is the correct link:
>
> https://github.com/scipy/scipy/blob/master/scipy/stats/distributions.py#L227

much easier

answer a link https://github.com/scipy/scipy/blob/master/scipy/stats/distributions.py#L453

dist is an attribute of the frozen class. the frozen class delegates
to the real class and has that attached as `dist`

so this is the same as the upper bound .b attribute of the class.


>
> btw, I am compiling a list of points about the scipy.stats code. Once
> finished what should I do with it? Would it be best to send it to this
> list? Should I send the points one by one, or better as one file?
>
> I am very enthousiastic about the fact that the code is now easily
> accessible via the web.

pull request on github?

depends on what the "points" are.
If you find bugs, individual tickets would be useful. If you find
several/many smaller things, then one would make it easier to go over
all of them.

Josef

>
>
> On 21 April 2012 22:17,  <josef.pktd@gmail.com> wrote:
>> On Sat, Apr 21, 2012 at 3:56 PM, nicky van foreest <vanforeest@gmail.com> wrote:
>>> Hi,
>>>
>>> While reading the code and the examples of scipy.stats I came across
>>> the attribute rv.dist. Specifically, line 227 of the scipy.stats
>>> source on the gibhub server mentions:
>>>
>>>>>> x = np.linspace(0, np.minimum(rv.dist.b, 3))
>>>
>>> The problem is that the meaning of this attribute is nowhere
>>> explained. Is this a bug?
>>
>> Do you have the github link to the source? It's not clear which module
>> you are talking about.
>> (klick on line number and you get the link to that specific line)
>> It would safe me some time searching for this.
>>
>> Josef
>>
>>
>>>
>>> Nicky
>>> _______________________________________________
>>> SciPy-Dev mailing list
>>> SciPy-Dev@scipy.org
>>> http://mail.scipy.org/mailman/listinfo/scipy-dev
>> _______________________________________________
>> SciPy-Dev mailing list
>> SciPy-Dev@scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-dev
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev


More information about the SciPy-Dev mailing list