Compare commits

...

3 Commits

Author SHA1 Message Date
288f1bd42e
10th card; for KX4XE
10th card; for KX4XE
2021-11-07 10:02:07 -05:00
286aaf9cf8
Update readme.md 2021-11-07 09:39:29 -05:00
e3d61cad3f
Add files via upload
9th card; for WA1LNY
2021-11-07 09:36:37 -05:00
3 changed files with 60 additions and 58 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 126 KiB

View File

@ -12,61 +12,61 @@ from matplotlib import rc
#rc('text', usetex=True)
callsign="K2YS"
callsign="KX4XE"
def alphabetposition(c):
if(c=="A"):
return 6.5
return 7
if(c=="B"):
return 6
return 7
if(c=="C"):
return 5.5
if(c=="D"):
return 5
if(c=="E"):
return 4.5
if(c=="F"):
return 4
if(c=="G"):
return 3.5
if(c=="H"):
return 3
if(c=="I"):
return 2.5
if(c=="J"):
return 2
if(c=="K"):
return 1.5
if(c=="L"):
return 1
if(c=="M"):
return 0.5
if(c=="N"):
return 0.5
if(c=="O"):
return 1
if(c=="P"):
return 1.5
if(c=="Q"):
return 2
if(c=="R"):
return 2.5
if(c=="S"):
return 3
if(c=="T"):
return 3.5
if(c=="U"):
return 4
if(c=="V"):
return 4.5
if(c=="W"):
return 5
if(c=="X"):
return 5.5
if(c=="Y"):
return 6
if(c=="D"):
return 6
if(c=="E"):
return 5
if(c=="F"):
return 5
if(c=="G"):
return 4
if(c=="H"):
return 4
if(c=="I"):
return 3
if(c=="J"):
return 3
if(c=="K"):
return 2
if(c=="L"):
return 2
if(c=="M"):
return 1
if(c=="N"):
return 1
if(c=="O"):
return 2
if(c=="P"):
return 2
if(c=="Q"):
return 3
if(c=="R"):
return 3
if(c=="S"):
return 4
if(c=="T"):
return 4
if(c=="U"):
return 5
if(c=="V"):
return 5
if(c=="W"):
return 6
if(c=="X"):
return 6
if(c=="Y"):
return 7
if(c=="Z"):
return 6.5
return 7
else:
return c
@ -86,8 +86,8 @@ def plotme(z):
return base_function(z)/fabs(base_function(z))
plt.axis('off')
#cplot(plotme,[-2.75,2.75],[-1.75,1.75],points=1000000)
cplot(plotme,[-5.5,5.5],[-3.5,3.5],points=1000000)
cplot(plotme,[-2.75,2.75],[-1.75,1.75],points=1000000)
#cplot(plotme,[-5.5,5.5],[-3.5,3.5],points=1000000,verbose=True)
ax=plt.gca()
#rect = Rectangle((-2.5,1.6),1,-1,linewidth=1,edgecolor='r',facecolor='white')

View File

@ -5,18 +5,20 @@ This code generates a picture called a "phase coloring" (see [domain coloring](h
The code contains an assignment of letters to numbers. In the file ```frontsidegenerator.py``` you see lines like
```
if(c=="C"):
return 5.5
return 6
```
That is code saying "assign the number 5.5 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:
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 -> 1.5
E -> 4.5
K -> 2
E -> 5
8 -> 8
Q -> 2
Z -> 6.5
C -> 5.5
Q -> 3
Z -> 7
C -> 6
```
and so my callsign will translate into a list of numbers ```num_csg=[1.5,4.5,8,2,6.5,5.5]```. The current version of the code is written to turn callsigns that are 6 symbols long into a "2F3" [hypergeometric function](https://en.wikipedia.org/wiki/Generalized_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(1.5,4.5;8,2,6.5;z^(5.5)).
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](https://en.wikipedia.org/wiki/Generalized_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 that generated your QSL card was given so you could find the exact code that was used to generate 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.