Re: GF4, A Waveform Calculator

2022-05-19 Thread Edward K. Ream
On Wed, May 18, 2022 at 8:56 AM tbp1...@gmail.com 
wrote:

> I have created a minimal version that does almost nothing except plot a
> hard-coded data set and allow you to change the axis settings.  It does
> however use the actual gf4 code to handle the data and plotting, just with
> everything else removed.
>
> Put the attached file in the same directory where you have gf4, and run it
> from a console window.  You can change the axes scale type from the "Plot"
> menu.  If log-log still does not display a log-log plot, at least we will
> have something much simpler to work with.
>

Thanks Thomas. I'm spending all my programming time on 6.6.2 right now.
I'll get to gf4 in a few days.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3YV8NyE5o-cKm7SWqZCJt65hiSfw0y94M3csY-Uk9v2w%40mail.gmail.com.


Re: GF4, A Waveform Calculator

2022-05-18 Thread tbp1...@gmail.com
I have created a minimal version that does almost nothing except plot a 
hard-coded data set and allow you to change the axis settings.  It does 
however use the actual gf4 code to handle the data and plotting, just with 
everything else removed.

Put the attached file in the same directory where you have gf4, and run it 
from a console window.  You can change the axes scale type from the "Plot" 
menu.  If log-log still does not display a log-log plot, at least we will 
have something much simpler to work with.

On Tuesday, May 17, 2022 at 10:38:07 PM UTC-4 tbp1...@gmail.com wrote:

> Here is another test you can do.  Enable the Test menu:
>
> in createmenus.py, find "test menu".  Uncomment the last line 
> (mainMenu.add_cascade(...).
>
> Then navigate to @file gf4.pyw-->class 
> PlotManager(AbstractPlotManager)-->Misc-->testMacro.  Add a new last line 
> to the string
> so that it reads
>
> def testMacro(self):
> self.runMacro('''dsin
> copy2buff
> sqr
> plot
> ; comment
> overplotbuf
> # another comment
> loglog
> ''')
>
> This adds the command "loglog" to the macro definition.  Save everything, 
> then re-open gf4.  there should be a new "Test" menu.  select the "Run 
> Macro" item.  It will create a waveform and do things with it, and the last 
> step should switch the axes to log-log.  This command is the same one that 
> is (or should be) sent from the button window when you press the "loglog" 
> key.
>
> You can also verify that the "loglog" button is hooked up to the right 
> command string.  Run the cmdwin.py file as its own program from the command 
> line.  This produces a button window that is exactly what you see when you 
> run gf4, except that when you press a button, its command is printed to the 
> console instead of getting executed.
>
> On Tuesday, May 17, 2022 at 7:57:17 PM UTC-4 tbp1...@gmail.com wrote:
>
>> Strange.  Yes, let's zoom.  email me at the address you have so we can 
>> see what's what.  in the meantime, do the semilogX and semilogY buttons 
>> seem to change the scales as expected?
>>
>> I hope that matplotlib didn't change something.  My version should be 
>> very current since i just installed python 3.10.  also, my python 3.7 
>> version, which is several years old, also works as expected. my versions:
>>
>> Python  matplotlib
>> 3.103.5.2
>> 3.9  3.5.0
>> 3.7  3.5.2   # hmm, must have updated it recently
>> but even back when gf4 ran under Python 2.7, loglog plotting worked as 
>> expected.
>>
>> On Tuesday, May 17, 2022 at 7:20:11 PM UTC-4 Edward K. Ream wrote:
>>
>>> On Tue, May 17, 2022 at 4:05 PM tbp1...@gmail.com  
>>> wrote:
>>>
 yellow, that's good!  now as long as they flash when clicked...

>>>
>>> Yes. All buttons flash when clicked.
>>>
>>> Traces show that plot is called, but neither the scales nor the plot 
>>> itself change after clicking LogLog.  Perhaps we could zoom sometime.
>>>
>>> Edward
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/3bfe41e7-134b-466d-bc17-f48b68d65d00n%40googlegroups.com.
#@+leo-ver=5-thin
#@+node:tom.20220518082230.1: * @file gf_min.py
#@@language python
#@@tabwidth -4
#@+others
#@+node:tom.20220518082247.1: ** imports
import os.path
import sys

import tkinter as Tk
import tkinter.font as tkFont
from tkinter import filedialog as fd

import matplotlib
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
from matplotlib.backends.backend_tkagg import NavigationToolbar2Tk
from matplotlib.figure import Figure

from entry import TextFade

#from randnum import *
from AbstractPlotMgr import AbstractPlotManager
from AbstractPlotMgr import MAIN, BUFFER, STACKDEPTH, ERRBAND_HI, ERRBAND_LO

from colors import (BLACK, CYAN, GRAY, LIGHTGRAY, DEFAULTGRIDCOLOR,
ColorBgPairs)

from Dataset import Dataset
from Linestyle import (Linestyle, LINETHIN, LINEMED)

matplotlib.use('TkAgg')
#@+node:tom.20220518082506.1: ** Declarations
COMMENTS = (';', '#')

ENCODING = 'utf-8'
#@+node:tom.20220518082700.1: ** class PlotManager(AbstractPlotManager)
class PlotManager(AbstractPlotManager):

# pylint: disable = import-outside-toplevel
# pylint: disable = too-many-public-methods

# Putting these imports at the top of the module doesn't work
# Because they expect to be called as methods with a "self" param.
from Plot import plot
from Timehack import timehack
from BuildCommands import buildCommands
from MakeWaveforms import (
makeExponential, makeSine, makeDampedSine,
makeStep, makeDelta, makeRamp,
makeSquarewave, 

Re: GF4, A Waveform Calculator

2022-05-17 Thread tbp1...@gmail.com
Here is another test you can do.  Enable the Test menu:

in createmenus.py, find "test menu".  Uncomment the last line 
(mainMenu.add_cascade(...).

Then navigate to @file gf4.pyw-->class 
PlotManager(AbstractPlotManager)-->Misc-->testMacro.  Add a new last line 
to the string
so that it reads

def testMacro(self):
self.runMacro('''dsin
copy2buff
sqr
plot
; comment
overplotbuf
# another comment
loglog
''')

This adds the command "loglog" to the macro definition.  Save everything, 
then re-open gf4.  there should be a new "Test" menu.  select the "Run 
Macro" item.  It will create a waveform and do things with it, and the last 
step should switch the axes to log-log.  This command is the same one that 
is (or should be) sent from the button window when you press the "loglog" 
key.

You can also verify that the "loglog" button is hooked up to the right 
command string.  Run the cmdwin.py file as its own program from the command 
line.  This produces a button window that is exactly what you see when you 
run gf4, except that when you press a button, its command is printed to the 
console instead of getting executed.

On Tuesday, May 17, 2022 at 7:57:17 PM UTC-4 tbp1...@gmail.com wrote:

> Strange.  Yes, let's zoom.  email me at the address you have so we can see 
> what's what.  in the meantime, do the semilogX and semilogY buttons seem to 
> change the scales as expected?
>
> I hope that matplotlib didn't change something.  My version should be very 
> current since i just installed python 3.10.  also, my python 3.7 version, 
> which is several years old, also works as expected. my versions:
>
> Python  matplotlib
> 3.103.5.2
> 3.9  3.5.0
> 3.7  3.5.2   # hmm, must have updated it recently
> but even back when gf4 ran under Python 2.7, loglog plotting worked as 
> expected.
>
> On Tuesday, May 17, 2022 at 7:20:11 PM UTC-4 Edward K. Ream wrote:
>
>> On Tue, May 17, 2022 at 4:05 PM tbp1...@gmail.com  
>> wrote:
>>
>>> yellow, that's good!  now as long as they flash when clicked...
>>>
>>
>> Yes. All buttons flash when clicked.
>>
>> Traces show that plot is called, but neither the scales nor the plot 
>> itself change after clicking LogLog.  Perhaps we could zoom sometime.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/9038027c-71ab-464a-a79e-fe2886f87d16n%40googlegroups.com.


Re: GF4, A Waveform Calculator

2022-05-17 Thread tbp1...@gmail.com
Strange.  Yes, let's zoom.  email me at the address you have so we can see 
what's what.  in the meantime, do the semilogX and semilogY buttons seem to 
change the scales as expected?

I hope that matplotlib didn't change something.  My version should be very 
current since i just installed python 3.10.  also, my python 3.7 version, 
which is several years old, also works as expected. my versions:

Python  matplotlib
3.103.5.2
3.9  3.5.0
3.7  3.5.2   # hmm, must have updated it recently
but even back when gf4 ran under Python 2.7, loglog plotting worked as 
expected.

On Tuesday, May 17, 2022 at 7:20:11 PM UTC-4 Edward K. Ream wrote:

> On Tue, May 17, 2022 at 4:05 PM tbp1...@gmail.com  
> wrote:
>
>> yellow, that's good!  now as long as they flash when clicked...
>>
>
> Yes. All buttons flash when clicked.
>
> Traces show that plot is called, but neither the scales nor the plot 
> itself change after clicking LogLog.  Perhaps we could zoom sometime.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/38edb64b-f065-45a4-9850-5d4efeeccb7cn%40googlegroups.com.


Re: GF4, A Waveform Calculator

2022-05-17 Thread Edward K. Ream
On Tue, May 17, 2022 at 4:05 PM tbp1...@gmail.com 
wrote:

> yellow, that's good!  now as long as they flash when clicked...
>

Yes. All buttons flash when clicked.

Traces show that plot is called, but neither the scales nor the plot itself
change after clicking LogLog.  Perhaps we could zoom sometime.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3e9WT6g42%2Bo8HuJDzL2z-PUf%3Duokg6x9JanfxN4f__ng%40mail.gmail.com.


Re: GF4, A Waveform Calculator

2022-05-17 Thread tbp1...@gmail.com
yellow, that's good!  now as long as they flash when clicked...

On Tuesday, May 17, 2022 at 4:58:03 PM UTC-4 Edward K. Ream wrote:

> On Mon, May 16, 2022 at 8:44 AM tbp1...@gmail.com  
> wrote:
>
>> I just went through it myself, and the log-log plot displayed as shown in 
>> the tutorial.  i can hardly imagine how it wouldn't work for you, knowing 
>> how those buttons are hooked up internally.
>
>
> Not to worry. I'll figure out what is happening on my end. It's been a 
> busy couple of days.
>
> BTW, the command buttons are turning yellow :-)
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/8281400b-217b-4746-925d-2d6e9181a3e0n%40googlegroups.com.


Re: GF4, A Waveform Calculator

2022-05-17 Thread Edward K. Ream
On Mon, May 16, 2022 at 8:44 AM tbp1...@gmail.com 
wrote:

> I just went through it myself, and the log-log plot displayed as shown in
> the tutorial.  i can hardly imagine how it wouldn't work for you, knowing
> how those buttons are hooked up internally.


Not to worry. I'll figure out what is happening on my end. It's been a busy
couple of days.

BTW, the command buttons are turning yellow :-)

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0h811Y3NfxDp8Xg4LfTv4vOknVjPhSdyPrpMht025wpw%40mail.gmail.com.


Re: GF4, A Waveform Calculator

2022-05-16 Thread tbp1...@gmail.com
I just went through it myself, and the log-log plot displayed as shown in 
the tutorial.  i can hardly imagine how it wouldn't work for you, knowing 
how those buttons are hooked up internally.  one thing that happens to me, 
not just with this program, is if i jerk the mouse too much when i click. 
then the click doesn't take effect.

could you check one thing for me? when any of those command buttons is 
clicked, it should flash a couple of times to let you know it activated.  
when you click on the loglog button, does it flash?  it should have changed 
color to yellow when you hovered the mouse and then flashed when you 
clicked.

Also, try it with another data set.  click on the "Gaussian Noise" button 
and accept the defaults.  click on the "Linear" button to make sure that's 
where you are starting from.  then take the fft and the switch to the 
log-log view.  see if both axes are now logarithmic (axis tick marks not 
evenly spaced).  If not, try the "Semilog X" and "Semilog Y" buttons and 
see if they seem to work as expected.  then let me know the outcome.

Otherwise you might try updating the program to the latest changeset in the 
master branch.  that would be worth doing anyway if you checked out an 
earlier version.  not that i changed anything in this part of the code, but 
worth trying anyway.

On Monday, May 16, 2022 at 9:15:39 AM UTC-4 Edward K. Ream wrote:

> On Sun, May 15, 2022 at 11:13 PM tbp1...@gmail.com  
> wrote:
>
>> Part 2  of the 
>> series on FFTs is now on the GF4 blog.
>>
>
> Thanks, Thomas. This is a great tutorial.
>
> Somehow I missed part 1.  Following through on it, everything worked until 
> I hit the LogLog button.  Nothing happened.
>
> Any suggestions?
>
> Edward
>
>>
>> On Friday, May 13, 2022 at 3:40:08 PM UTC-4 Edward K. Ream wrote:
>>
>>> On Fri, May 13, 2022 at 1:22 PM tbp1...@gmail.com  
>>> wrote:
>>>
 It will display as a feed in a feed reader, such as Feedbro (which is 
 what I use).  
>>>
>>>
>>> I see. Maybe it would be best to explain on your site :-)
>>>
>>> Edward
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "leo-editor" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to leo-editor+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/leo-editor/0445649a-ae88-4b1b-bd03-e31d2e9a98d4n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> -
> Edward K. Ream: edre...@gmail.com
> An old man, crazy about computer programming.
> Leo Editor: http://leoeditor.com/
> -
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/585644a9-ed7c-4113-8741-6000f94d944an%40googlegroups.com.


Re: GF4, A Waveform Calculator

2022-05-16 Thread Edward K. Ream
On Sun, May 15, 2022 at 11:13 PM tbp1...@gmail.com 
wrote:

> Part 2  of the series
> on FFTs is now on the GF4 blog.
>

Thanks, Thomas. This is a great tutorial.

Somehow I missed part 1.  Following through on it, everything worked until
I hit the LogLog button.  Nothing happened.

Any suggestions?

Edward

>
> On Friday, May 13, 2022 at 3:40:08 PM UTC-4 Edward K. Ream wrote:
>
>> On Fri, May 13, 2022 at 1:22 PM tbp1...@gmail.com 
>> wrote:
>>
>>> It will display as a feed in a feed reader, such as Feedbro (which is
>>> what I use).
>>
>>
>> I see. Maybe it would be best to explain on your site :-)
>>
>> Edward
>>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to leo-editor+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/leo-editor/0445649a-ae88-4b1b-bd03-e31d2e9a98d4n%40googlegroups.com
> 
> .
>


-- 
-
Edward K. Ream: edream...@gmail.com
An old man, crazy about computer programming.
Leo Editor: http://leoeditor.com/
-

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS15ESR0-fcbqDJkkDcAP82vJEoRioiQtu4Tw3%2BGn2V9Sg%40mail.gmail.com.


Re: GF4, A Waveform Calculator

2022-05-15 Thread tbp1...@gmail.com
Part 2  of the series 
on FFTs is now on the GF4 blog.

On Friday, May 13, 2022 at 3:40:08 PM UTC-4 Edward K. Ream wrote:

> On Fri, May 13, 2022 at 1:22 PM tbp1...@gmail.com  
> wrote:
>
>> It will display as a feed in a feed reader, such as Feedbro (which is 
>> what I use).  
>
>
> I see. Maybe it would be best to explain on your site :-)
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/0445649a-ae88-4b1b-bd03-e31d2e9a98d4n%40googlegroups.com.


Re: GF4, A Waveform Calculator

2022-05-13 Thread Edward K. Ream
On Fri, May 13, 2022 at 1:22 PM tbp1...@gmail.com 
wrote:

> It will display as a feed in a feed reader, such as Feedbro (which is what
> I use).


I see. Maybe it would be best to explain on your site :-)

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0RQ5q8b6WGJkJ3dxBidoTr39U5ZPmJtHdjQ2PDOTS%2BgA%40mail.gmail.com.


Re: GF4, A Waveform Calculator

2022-05-13 Thread tbp1...@gmail.com
It will display as a feed in a feed reader, such as Feedbro (which is what 
I use).  Also, the blog site has the right element to allow a feed reader 
to subscribe right from the main blog page.  All "news readers" that 
produce Atom format (or RSS 2.0) produce xml files.  It is up the the feed 
reader to render them.

If you look at the news feed from, say, the Washington Post, you will see 
that it is an rss-formatted xml file too 
(e.g., http://www.washingtonpost.com/wp-dyn/rss/metro/index.xml).

I might be able to whip up a css stylesheet that would do a rough and ready 
rendering (did you know that you can style xml pages with css?), but 
whether i could get the stylesheet-referencing element for it into the 
automatically-generated feed xml i don't know.

There was a time when browsers attempted to render feeds, but they have all 
given it up as far as i know. There may still be some feed reader add-ons 
around; i'm not up on that except for Feedbro which does a great job.

On Friday, May 13, 2022 at 1:38:31 PM UTC-4 Edward K. Ream wrote:

> On Fri, May 13, 2022 at 7:58 AM tbp1...@gmail.com  
> wrote:
>
>> There is now a blog with an Atom feed 
>> .
>>
>
> When I click the link I get a representation of html, with a top-level 
>  element.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f017d3b8-7123-4a9d-b3d3-e89aca4cf108n%40googlegroups.com.


Re: GF4, A Waveform Calculator

2022-05-13 Thread Edward K. Ream
On Fri, May 13, 2022 at 7:58 AM tbp1...@gmail.com 
wrote:

> There is now a blog with an Atom feed
> .
>

When I click the link I get a representation of html, with a top-level
 element.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS1-GBZpTmL9btSih%2BpXPjdvgxzdbVsAoKk2-iL-AAk%3DCQ%40mail.gmail.com.


Re: GF4, A Waveform Calculator

2022-05-13 Thread tbp1...@gmail.com
There is now a blog with an Atom feed 
.

On Monday, May 9, 2022 at 4:35:26 PM UTC-4 Edward K. Ream wrote:

>
>
> On Mon, May 9, 2022 at 2:40 PM tbp1...@gmail.com  
> wrote:
>
>> Screenshot has been added.
>>
>
> Excellent. These pictures are worth multiple hundreds of words :-)
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/dad2487b-eb05-4231-8311-6632315945b2n%40googlegroups.com.


Re: GF4, A Waveform Calculator

2022-05-09 Thread Edward K. Ream
On Mon, May 9, 2022 at 2:40 PM tbp1...@gmail.com 
wrote:

> Screenshot has been added.
>

Excellent. These pictures are worth multiple hundreds of words :-)

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS145Hcc7GntNEHu652sGTkcsiwGUoTNqaz%3DZa2kLyKZDw%40mail.gmail.com.


Re: GF4, A Waveform Calculator

2022-05-09 Thread tbp1...@gmail.com
Screenshot has been added.

On Monday, May 9, 2022 at 2:10:21 PM UTC-4 Edward K. Ream wrote:

> On Mon, May 9, 2022 at 12:48 PM tbp1...@gmail.com  
> wrote:
>
> Edward asked me to announce this here, even though the program is not 
>> Leo-related aside from being managed in Leo.  He also encouraged me to make 
>> the project publicly available on Github. 
>
>
> Thanks, Thomas, for sharing this great software with us.  I encourage all 
> Leonistas to investigate GF4. Thomas described GF4 this way in a private 
> email:
>
> "I've been thinking about your talking about moving beyond Leo, and what a 
> magnificent achievement it is. And how you've been plugging away on it for 
> some 25 years.  It puts me in mind of my own flagship program - well, 
> flagship except that I'm the only one who knows about it."
>
> The URL to the Github repo  is at The GF4 Project 
>> .
>>
>
> Please add a screenshot to the readme.md file. That way people can get an 
> initial picture of what the calculator is.
>
> Edward
>
> P.S. If you too are hiding your life's work, please, for goodness sake, 
> hide it no longer! Have the courage to put it forward! If that seems too 
> risky, try John McFee's trick. Write as if writing to your mother, and then 
> send the description to someone sympathetic. I'll volunteer :-)
>
> EKR
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/64c9bc39-2c76-45c6-8fd5-5f9ae6c717e6n%40googlegroups.com.


Re: GF4, A Waveform Calculator

2022-05-09 Thread Edward K. Ream
On Mon, May 9, 2022 at 12:48 PM tbp1...@gmail.com 
wrote:

Edward asked me to announce this here, even though the program is not
> Leo-related aside from being managed in Leo.  He also encouraged me to make
> the project publicly available on Github.


Thanks, Thomas, for sharing this great software with us.  I encourage all
Leonistas to investigate GF4. Thomas described GF4 this way in a private
email:

"I've been thinking about your talking about moving beyond Leo, and what a
magnificent achievement it is. And how you've been plugging away on it for
some 25 years.  It puts me in mind of my own flagship program - well,
flagship except that I'm the only one who knows about it."

The URL to the Github repo  is at The GF4 Project
> .
>

Please add a screenshot to the readme.md file. That way people can get an
initial picture of what the calculator is.

Edward

P.S. If you too are hiding your life's work, please, for goodness sake,
hide it no longer! Have the courage to put it forward! If that seems too
risky, try John McFee's trick. Write as if writing to your mother, and then
send the description to someone sympathetic. I'll volunteer :-)

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0pNrpxh05MXvf%3DBcaef5k7%2Bo371d7-MRzwaLJO4AXOmQ%40mail.gmail.com.


GF4, A Waveform Calculator

2022-05-09 Thread tbp1...@gmail.com
Edward asked me to announce this here, even though the program is not 
Leo-related aside from being managed in Leo.  He also encouraged me to make 
the project publicly available on Github.  Here's what I wrote him -

"My program, which I call GF4, is a program for viewing and processing 2-D 
waveforms.  I've done a lot of that over my career, and this program helps 
with that.  Its interface is modeled after my old HP reverse-polish 
calculator, except that it maintains a stack of waveforms in place of 
numbers.  Thus, you can push, pop, or rotate the waveform stack.  You can 
do numeric operations between the two bottom stack positions (in an HP 
calculator, you would for instance push 2, push 4, then add to give 6 in 
the bottom stack position.  You can do various operations on the stack 
bottom, like smoothing, low pass filtering, or a Fast Fourier Transform.  
You can do curve fitting, correlation between waveforms, etc., etc.  All 
with a calculator like interface, which turns out to be much handier than 
menus.

 There is a macro facility to repeat command sequences.  There are waveform 
generators.  You can fit a gaussian distribution to a data set.
...
It's only about 1/20 the size of Leo in terms of LOC, but it's fabulously 
useful for the one thing it specializes in.  And it has a 37-year lineage, 
going back to 1985 on a 64-k CP/M machine. Back then it was written in 
FORTH.  Today it is written in Python with a tcl/tk GUI. Implementation has 
gone from FORTH through Turbopascal through Turbopascal + my own DOS 
graphics mode window manager, through Delphi for Windows, and now Python 
and tcl/tk.   Back then I wrote all my own math routines, including the FFT 
which was not limited to powers of two but would work for any arbitrary 
data length. Now I use Numpy and Scypi for some things, but many of my old 
routines are still in there, like the LOWESS smoothing implementation. "

>From the README in the Github repository:
"GF4 - "GF" being short for "Graphics Framework" - is a Python program to 
display two-dimensional data, such as time series data, and to perform 
mathematical operations on the data or between two related data sets. The 
program aims to make data exploration easy and enjoyable."

GF4 is licensed under the MIT license, the same as Leo.  There is a User's 
Guide and a blog site, both linked on the Github README file.  The files 
and Sphinx documentation are contained in gf4.leo.

The URL to the Github repo  is at The GF4 Project 
.

If you have any interest in visualizing and exploring 2D data sets, please 
give GF4 a try.  I use it all the time.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a54d3c3e-7906-402f-b566-44338ebc3811n%40googlegroups.com.