Re: [Numpy-discussion] Licensing question

2012-08-08 Thread David Cournapeau
On Wed, Aug 8, 2012 at 12:55 AM, Nathaniel Smith n...@pobox.com wrote:
 On Mon, Aug 6, 2012 at 8:31 PM, Robert Kern robert.k...@gmail.com wrote:
 Those are not the original Fortran sources. The original Fortran sources are
 in the public domain as work done by a US federal employee.

 http://www.netlib.org/fftpack/

 Never trust the license of any code on John Burkardt's site. Track it down
 to the original sources.

 Taken together, what those websites seem to be claiming is that you
 have a choice of buggy BSD code or fixed GPL code? I assume someone
 has already taken the appropriate measures for numpy, but it seems
 like an unfortunate situation...

If the code on John Burkardt website is based on the netlib codebase,
he is not entitled to make it GPL unless he is the sole copyright
holder of the original code.

I think the 'real' solution is to have a separate package linking to
FFTW for people with 'advanced' needs for FFT. None of the other
library I have looked at so far are usable, fast and precise enough
when you go far from the simple case of double precision and 'well
factored' size.

regards,

David
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Licensing question

2012-08-08 Thread Robert Kern
On Wed, Aug 8, 2012 at 10:34 AM, David Cournapeau courn...@gmail.com wrote:
 On Wed, Aug 8, 2012 at 12:55 AM, Nathaniel Smith n...@pobox.com wrote:
 On Mon, Aug 6, 2012 at 8:31 PM, Robert Kern robert.k...@gmail.com wrote:
 Those are not the original Fortran sources. The original Fortran sources are
 in the public domain as work done by a US federal employee.

 http://www.netlib.org/fftpack/

 Never trust the license of any code on John Burkardt's site. Track it down
 to the original sources.

 Taken together, what those websites seem to be claiming is that you
 have a choice of buggy BSD code or fixed GPL code? I assume someone
 has already taken the appropriate measures for numpy, but it seems
 like an unfortunate situation...

 If the code on John Burkardt website is based on the netlib codebase,
 he is not entitled to make it GPL unless he is the sole copyright
 holder of the original code.

He can certainly incorporate the public domain code and rerelease it
under whatever restrictions he likes, especially if he adds to it,
which appears to be the case. The original sources are legitimately
public domain, not just released under a liberal copyright license. He
can't remove the original code from the public domain, but that's
not what he claims to have done.

 I think the 'real' solution is to have a separate package linking to
 FFTW for people with 'advanced' needs for FFT. None of the other
 library I have looked at so far are usable, fast and precise enough
 when you go far from the simple case of double precision and 'well
 factored' size.

http://pypi.python.org/pypi/pyFFTW

-- 
Robert Kern
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Licensing question

2012-08-08 Thread David Cournapeau
On Wed, Aug 8, 2012 at 10:53 AM, Robert Kern robert.k...@gmail.com wrote:
 On Wed, Aug 8, 2012 at 10:34 AM, David Cournapeau courn...@gmail.com wrote:
 On Wed, Aug 8, 2012 at 12:55 AM, Nathaniel Smith n...@pobox.com wrote:
 On Mon, Aug 6, 2012 at 8:31 PM, Robert Kern robert.k...@gmail.com wrote:
 Those are not the original Fortran sources. The original Fortran sources 
 are
 in the public domain as work done by a US federal employee.

 http://www.netlib.org/fftpack/

 Never trust the license of any code on John Burkardt's site. Track it down
 to the original sources.

 Taken together, what those websites seem to be claiming is that you
 have a choice of buggy BSD code or fixed GPL code? I assume someone
 has already taken the appropriate measures for numpy, but it seems
 like an unfortunate situation...

 If the code on John Burkardt website is based on the netlib codebase,
 he is not entitled to make it GPL unless he is the sole copyright
 holder of the original code.

 He can certainly incorporate the public domain code and rerelease it
 under whatever restrictions he likes, especially if he adds to it,
 which appears to be the case. The original sources are legitimately
 public domain, not just released under a liberal copyright license. He
 can't remove the original code from the public domain, but that's
 not what he claims to have done.

 I think the 'real' solution is to have a separate package linking to
 FFTW for people with 'advanced' needs for FFT. None of the other
 library I have looked at so far are usable, fast and precise enough
 when you go far from the simple case of double precision and 'well
 factored' size.

 http://pypi.python.org/pypi/pyFFTW

Nice, I am starting to get out of touch with too many packages...
Would be nice to add DCT and DST support to it.

David
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Licensing question

2012-08-08 Thread Matt Terry
 Nice, I am starting to get out of touch with too many packages...
 Would be nice to add DCT and DST support to it.

FWIW, the DCT has been in scipy.fftpack for a while and DST was just added.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Licensing question

2012-08-06 Thread Sturla Molden
But the Fortran FFTPACK is GPL, or has the licence been changed?

http://people.sc.fsu.edu/~jburkardt/f77_src/fftpack5.1/fftpack5.1.html

Sturla

Sendt fra min iPad

Den 3. aug. 2012 kl. 07:52 skrev Travis Oliphant tra...@continuum.io:

 This should be completely fine.The fftpack.h file indicates that fftpack 
 code came from Tela originally anyway and was translated from the Fortran 
 code FFTPACK. 
 
 Good luck with your project. 
 
 -Travis
 
 
 On Aug 2, 2012, at 3:44 PM, Damon McDougall wrote:
 
 Hi,
 
 I have a question about the licence for NumPy's codebase. I am currently
 writing a library and I'd like to release under some BSD-type licence.
 Unfortunately, my choice to link against MIT's FFTW library (released
 under the GPL) means that, in its current state, this is not possible.
 I'm an avid NumPy user and thought to myself that, since NumPy's licence
 is BSD, I'd be able to use some of the source code (with due credit, of
 course) instead of FFTW. Is this possible? I mean, can I redistribute
 *PART* of NumPy's codebase? Namely, the fftpack.c file? I was under the
 impression that I could only redistribute BSD source code as a whole and
 then I read the licence more carefully and it states that I can modify
 the source to suit my needs. I consider 'redistributing a single file
 and ignoring the other files' as a 'modification' under the BSD
 definition, but maybe I'm thinking too wishfully here.
 
 Any information on this matter would be greatly appreciated since I am a
 total code licence noob.
 
 Thank you.
 
 P.S. Yes, I know I could just release under the GPL, but I don't want to
 turn people off of packaging my work into a useful product licensed
 under BSD, or even make money from it.
 
 -- 
 Damon McDougall
 http://damon-is-a-geek.com
 B2.39
 Mathematics Institute
 University of Warwick
 Coventry
 West Midlands
 CV4 7AL
 United Kingdom
 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion
 
 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Licensing question

2012-08-06 Thread Robert Kern
Those are not the original Fortran sources. The original Fortran sources
are in the public domain as work done by a US federal employee.

http://www.netlib.org/fftpack/

Never trust the license of any code on John Burkardt's site. Track it down
to the original sources.

On Monday, August 6, 2012, Sturla Molden wrote:

 But the Fortran FFTPACK is GPL, or has the licence been changed?

 http://people.sc.fsu.edu/~jburkardt/f77_src/fftpack5.1/fftpack5.1.html

 Sturla

 Sendt fra min iPad

 Den 3. aug. 2012 kl. 07:52 skrev Travis Oliphant 
 tra...@continuum.iojavascript:;
 :

  This should be completely fine.The fftpack.h file indicates that
 fftpack code came from Tela originally anyway and was translated from the
 Fortran code FFTPACK.
 
  Good luck with your project.
 
  -Travis
 
 
  On Aug 2, 2012, at 3:44 PM, Damon McDougall wrote:
 
  Hi,
 
  I have a question about the licence for NumPy's codebase. I am currently
  writing a library and I'd like to release under some BSD-type licence.
  Unfortunately, my choice to link against MIT's FFTW library (released
  under the GPL) means that, in its current state, this is not possible.
  I'm an avid NumPy user and thought to myself that, since NumPy's licence
  is BSD, I'd be able to use some of the source code (with due credit, of
  course) instead of FFTW. Is this possible? I mean, can I redistribute
  *PART* of NumPy's codebase? Namely, the fftpack.c file? I was under the
  impression that I could only redistribute BSD source code as a whole and
  then I read the licence more carefully and it states that I can modify
  the source to suit my needs. I consider 'redistributing a single file
  and ignoring the other files' as a 'modification' under the BSD
  definition, but maybe I'm thinking too wishfully here.
 
  Any information on this matter would be greatly appreciated since I am a
  total code licence noob.
 
  Thank you.
 
  P.S. Yes, I know I could just release under the GPL, but I don't want to
  turn people off of packaging my work into a useful product licensed
  under BSD, or even make money from it.
 
  --
  Damon McDougall
  http://damon-is-a-geek.com
  B2.39
  Mathematics Institute
  University of Warwick
  Coventry
  West Midlands
  CV4 7AL
  United Kingdom
  ___
  NumPy-Discussion mailing list
  NumPy-Discussion@scipy.org javascript:;
  http://mail.scipy.org/mailman/listinfo/numpy-discussion
 
  ___
  NumPy-Discussion mailing list
  NumPy-Discussion@scipy.org javascript:;
  http://mail.scipy.org/mailman/listinfo/numpy-discussion
 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org javascript:;
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



-- 
Robert Kern
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Licensing question

2012-08-03 Thread Dag Sverre Seljebotn
On 08/02/2012 10:44 PM, Damon McDougall wrote:
 Hi,

 I have a question about the licence for NumPy's codebase. I am currently
 writing a library and I'd like to release under some BSD-type licence.
 Unfortunately, my choice to link against MIT's FFTW library (released
 under the GPL) means that, in its current state, this is not possible.
 I'm an avid NumPy user and thought to myself that, since NumPy's licence
 is BSD, I'd be able to use some of the source code (with due credit, of
 course) instead of FFTW. Is this possible? I mean, can I redistribute
 *PART* of NumPy's codebase? Namely, the fftpack.c file? I was under the
 impression that I could only redistribute BSD source code as a whole and
 then I read the licence more carefully and it states that I can modify
 the source to suit my needs. I consider 'redistributing a single file
 and ignoring the other files' as a 'modification' under the BSD
 definition, but maybe I'm thinking too wishfully here.

 Any information on this matter would be greatly appreciated since I am a
 total code licence noob.

 Thank you.

 P.S. Yes, I know I could just release under the GPL, but I don't want to
 turn people off of packaging my work into a useful product licensed
 under BSD, or even make money from it.

Not related to licensing, but here's another port of FFTPACK to C by 
Martin Reinecke, licensed under BSD. The README has the links to the 
original Fortran sources that this is based on.

https://github.com/dagss/libfftpack

Dag
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Licensing question

2012-08-02 Thread Gael Varoquaux
On Thu, Aug 02, 2012 at 09:44:53PM +0100, Damon McDougall wrote:
 I have a question about the licence for NumPy's codebase. I am currently
 writing a library and I'd like to release under some BSD-type licence.
 Unfortunately, my choice to link against MIT's FFTW library (released
 under the GPL) means that, in its current state, this is not possible.
 I'm an avid NumPy user and thought to myself that, since NumPy's licence
 is BSD, I'd be able to use some of the source code (with due credit, of
 course) instead of FFTW. Is this possible? I mean, can I redistribute
 *PART* of NumPy's codebase? Namely, the fftpack.c file?

As far as I know, yes. You must give credit to the original source, but
that's it.

Gael

ps: IANAL :)
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Licensing question

2012-08-02 Thread Travis Oliphant
This should be completely fine.The fftpack.h file indicates that fftpack 
code came from Tela originally anyway and was translated from the Fortran code 
FFTPACK. 

Good luck with your project. 

-Travis


On Aug 2, 2012, at 3:44 PM, Damon McDougall wrote:

 Hi,
 
 I have a question about the licence for NumPy's codebase. I am currently
 writing a library and I'd like to release under some BSD-type licence.
 Unfortunately, my choice to link against MIT's FFTW library (released
 under the GPL) means that, in its current state, this is not possible.
 I'm an avid NumPy user and thought to myself that, since NumPy's licence
 is BSD, I'd be able to use some of the source code (with due credit, of
 course) instead of FFTW. Is this possible? I mean, can I redistribute
 *PART* of NumPy's codebase? Namely, the fftpack.c file? I was under the
 impression that I could only redistribute BSD source code as a whole and
 then I read the licence more carefully and it states that I can modify
 the source to suit my needs. I consider 'redistributing a single file
 and ignoring the other files' as a 'modification' under the BSD
 definition, but maybe I'm thinking too wishfully here.
 
 Any information on this matter would be greatly appreciated since I am a
 total code licence noob.
 
 Thank you.
 
 P.S. Yes, I know I could just release under the GPL, but I don't want to
 turn people off of packaging my work into a useful product licensed
 under BSD, or even make money from it.
 
 -- 
 Damon McDougall
 http://damon-is-a-geek.com
 B2.39
 Mathematics Institute
 University of Warwick
 Coventry
 West Midlands
 CV4 7AL
 United Kingdom
 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion