using generalized hypergeometric functions to generate qsl cards
Go to file
tom cuchta e89a360e35
Update backside.tex
2024-03-26 08:06:22 -04:00
previouscards Rename W2BRM.png to 0026-W2BRM.png 2024-03-26 08:03:04 -04:00
backside.pdf Add files via upload 2023-02-17 15:03:15 -05:00
backside.tex Update backside.tex 2024-03-26 08:06:22 -04:00
feldhellclub.png Add files via upload 2023-02-17 15:03:15 -05:00
frontsidegenerator.py Add files via upload 2023-02-17 16:28:32 -05:00
readme.md Update readme.md 2023-03-05 10:04:19 -05:00
w8sp.png added W8SP club logo 2022-01-01 10:07:49 -05:00
yarc.png Add files via upload 2023-02-17 15:03:15 -05:00

readme.md

What is this?

This code generates a picture called a "phase coloring" (see domain coloring for the essential idea) from a "generalized hypergeometric function" whose parameters are chosen from a given amateur radio callsign.

How does it work?

The code contains an assignment of letters to numbers. In the file frontsidegenerator.py you see lines like

    if(c=="C"):
        return 6

That is code saying "assign the number 6 to the letter C". The entire alphabet has an assignment in the code. Numbers in callsigns just remain numbers. For instance, my callsign KE8QZC would have this translation into numbers:

K -> 2
E -> 5
8 -> 8
Q -> 3
Z -> 7
C -> 6

and so my callsign will translate into a list of numbers num_csg=[2,5,8,3,7,6]. The current version of the code is written to turn callsigns that are 6 symbols long into a "2F3" hypergeometric function. The first two letters of num_csg become the "top 2 parameters" of the function, the next three become the "bottom 3 parameters", and the final number becomes the exponent on the independent variable of the 2F1 function. So, my callsign KE8QZC generates the phase coloring of the function 2F3(2,5;8,3,7;z^(6)).

note: starting with card 9, the number scheme changed

What does "commit" refer to in the QSL card I received?

A "commit" is a term used in the "git" software version control software. The commit on your card is a link to the update where I uploaded a copy of your card to the github repository. This would also give you an approximation to the source code that generated your card. You can find the list of previous commits from this main page by clicking "# commits" under the green box that says "Code". I include this because the precise scheme I use to assign callsigns to generalized hypergeometric functions will change as I run into callsigns whose phase coloring behaves in a way I don't like (or if I change the coloring scheme in other ways in the future).

Can I use your code?

Sure; have fun and tell me what you do with it!!