HP Forums
Continuous Fourier Transform - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Continuous Fourier Transform (/thread-14231.html)



Continuous Fourier Transform - medwatt - 12-25-2019 07:39 PM

I was checking Xcas on Windows and realized that it can actually do continuous FT, among many other useful functions. Can I ask about the possibilities of this making its way to the Prime?


RE: Continuous Fourier Transform - Tim Wessman - 12-26-2019 02:03 AM

What is the function name?

Basically, some things in xcas cannot be included due to licensing issues (for example, if it uses code that only comes in a license not usable for commercial purposes, or that would force open source everything) because xcas itself doesn't do those functions and relies on other libraries.


RE: Continuous Fourier Transform - medwatt - 12-26-2019 07:44 AM

(12-26-2019 02:03 AM)Tim Wessman Wrote:  What is the function name?

Basically, some things in xcas cannot be included due to licensing issues (for example, if it uses code that only comes in a license not usable for commercial purposes, or that would force open source everything) because xcas itself doesn't do those functions and relies on other libraries.

The function is called fourier for the Fourier Transform and ifourier for the inverse Fourier Transform.

This is the page that lead me to the discovery: https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=4&t=2009

There are also other really nice functions but if we can have fourier and ifourier, that would be great.


RE: Continuous Fourier Transform - Tim Wessman - 12-26-2019 08:34 AM

(12-26-2019 07:44 AM)medwatt Wrote:  There are also other really nice functions but if we can have fourier and ifourier, that would be great.

To include this in Prime either a) Prime all becomes open source (which the development team is not personally against, but HP is not currently supportive of...), or b) you either need to contact the author at the link and ask/convince/beg/give firstborn or similar to re-license with a compatible one (he could talk to the cas author about what would work), or else rewrite them yourself not using that code. They are not under a license we can use directly and unfortunately that is a very low priority to remake on our side with so many other higher priority things. Sad


RE: Continuous Fourier Transform - medwatt - 12-26-2019 11:32 AM

(12-26-2019 08:34 AM)Tim Wessman Wrote:  
(12-26-2019 07:44 AM)medwatt Wrote:  There are also other really nice functions but if we can have fourier and ifourier, that would be great.

To include this in Prime either a) Prime all becomes open source (which the development team is not personally against, but HP is not currently supportive of...), or b) you either need to contact the author at the link and ask/convince/beg/give firstborn or similar to re-license with a compatible one (he could talk to the cas author about what would work), or else rewrite them yourself not using that code. They are not under a license we can use directly and unfortunately that is a very low priority to remake on our side with so many other higher priority things. Sad

I've contacted the author via his GitHub page: https://github.com/marohnicluka/giac/issues/1

There's no harm in trying.


RE: Continuous Fourier Transform - Stevetuc - 12-27-2019 06:47 AM

(12-26-2019 02:03 AM)Tim Wessman Wrote:  What is the function name?

Basically, some things in xcas cannot be included due to licensing issues (for example, if it uses code that only comes in a license not usable for commercial purposes, or that would force open source everything) because xcas itself doesn't do those functions and relies on other libraries.

As an aside, the DM42 team managed to solve a similar problem by splitting the firmware into opensource and proprietary
https://www.swissmicros.com/License_Statement.php


RE: Continuous Fourier Transform - parisse - 12-27-2019 08:05 AM

The Delta project for the Numworks calculator does something similar: a system firmware with extensions, KhiCAS being one of them.
https://zardam.github.io/nw-external-apps


RE: Continuous Fourier Transform - Stevetuc - 12-28-2019 08:54 AM

The ability to install opensource extensions would dramatically enhance the prime. All of this could be disabled in exam mode. Lets hope hp can find a way to do this.


RE: Continuous Fourier Transform - parisse - 12-29-2019 08:19 AM

And then replace the ti84+ce by the Numworks and the nspire cxii by the HP Prime, with a lot of fun applications developped by the community. If there is a compatible SDK, the same source code could run on both calculators, that would be a win-win situation for HP and Numworks.


RE: Continuous Fourier Transform - medwatt - 01-08-2020 10:08 AM

(12-26-2019 08:34 AM)Tim Wessman Wrote:  
(12-26-2019 07:44 AM)medwatt Wrote:  There are also other really nice functions but if we can have fourier and ifourier, that would be great.

To include this in Prime either a) Prime all becomes open source (which the development team is not personally against, but HP is not currently supportive of...), or b) you either need to contact the author at the link and ask/convince/beg/give firstborn or similar to re-license with a compatible one (he could talk to the cas author about what would work), or else rewrite them yourself not using that code. They are not under a license we can use directly and unfortunately that is a very low priority to remake on our side with so many other higher priority things. Sad

The seems to be good news. The author replied to my request.

Hello,
thank you for your interest and sorry for a delayed response. I could indeed distribute my code under a dual license which would be suitable for inclusion in Prime CAS source tree. I'm all for it if that helps students and teachers. I'll contact the HP representatives and try to make an arrangement.


RE: Continuous Fourier Transform - Stevetuc - 01-12-2020 08:42 AM

(01-08-2020 10:08 AM)medwatt Wrote:  
(12-26-2019 08:34 AM)Tim Wessman Wrote:  To include this in Prime either a) Prime all becomes open source (which the development team is not personally against, but HP is not currently supportive of...), or b) you either need to contact the author at the link and ask/convince/beg/give firstborn or similar to re-license with a compatible one (he could talk to the cas author about what would work), or else rewrite them yourself not using that code. They are not under a license we can use directly and unfortunately that is a very low priority to remake on our side with so many other higher priority things. Sad

The seems to be good news. The author replied to my request.

Hello,
thank you for your interest and sorry for a delayed response. I could indeed distribute my code under a dual license which would be suitable for inclusion in Prime CAS source tree. I'm all for it if that helps students and teachers. I'll contact the HP representatives and try to make an arrangement.
This is encouraging news. What would be very cool would be an sdk to allow user compile of such code and adding to prime as an extension to the cas