[SciPy-Dev] documenting fortran wrapped functions, was:Problems with documentation of scipy.interpolate.dfitpack

Charles R Harris charlesr.harris at gmail.com
Tue Jul 13 10:23:25 EDT 2010


On Tue, Jul 13, 2010 at 8:15 AM, Ralf Gommers
<ralf.gommers at googlemail.com>wrote:

>
>
> On Fri, Jul 9, 2010 at 3:33 PM, <josef.pktd at gmail.com> wrote:
>
>> On Thu, Jul 8, 2010 at 1:18 AM, Vincent Davis <vincent at vincentdavis.net>
>> wrote:
>> > On Wed, Jul 7, 2010 at 10:09 PM, bowie_22 <m.boumans at gmx.net> wrote:
>> >> Hello together,
>> >>
>> >> I tried to contribute to the documentation of scipy.
>> >> I found out that the whole
>> >>
>> >> scipy.interpolate.dfitpack
>> >>
>> >> package seems to be a little bit different.
>> >>
>> >> It is not possible to view the code.
>> >> You get 404 File not found error.
>> >>
>> >> Is there no source code available for dfitpack?
>> >> If so, how is the documentation handled?
>> >
>> > I think the first line in the doc editor says it all.
>> > "This module 'dfitpack' is auto-generated with f2py (version:2_8473).
>> > Functions:"
>> > I think this is the source
>> >
>> http://projects.scipy.org/scipy/browser/trunk/scipy/interpolate/src/fitpack.pyf
>> >
>> > Vincent
>>
>> Many of the fortran based functions are underdocumented, e.g.
>> lapack/blas in linalg, most functions in special, often the fortran
>> files contain quite extensive documentation. But it seems in some
>> cases like dfitpack, some documentation are autogenerated.
>>
>> Just a question because I don't have the time to look into this:
>> Do we need to mark f2py wrapped functions as "unimportant", or can we
>> make sure every f2py wrapped function has a editable docstring?
>>
>> I looked at this a while ago after writing docs for ftpack_lite. The
> problem I ran into is that the add_newdoc function only works for C code,
> not Fortran code. Not sure if this can be easily fixed or not.
>
>
I've been thinking of redoing parts of that code in Cython. Not that there
looks to be a lot of time for that, but the basic functions are small and
the driver functions should be a lot cleaner with the base functions in c.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100713/c660edd2/attachment.html>


More information about the SciPy-Dev mailing list