tag = "RadioFax" class Rfax: def __init__(self, khz_arr, callsign, khz_offset = -1.9): self.freqs = khz_arr self.name = callsign self.offset = khz_offset rfaxStations = [ Rfax([3622.5], "JMH"), Rfax([7795], "JMH2"), Rfax([13988.5], "JMH4"), Rfax([3585,5857.5,7433.5,9165,13570], "HLL2"), Rfax([4316,8467.5,12745.5,16971,17069.6,22542], "JJC"), Rfax([16035,17430], "9VF/252"), Rfax([4199.75,8412.5,12629.25,16826.25], "XSQ"), Rfax([4228.0,8677.0,17146.4], "CBV"), Rfax([4322.0,8696.0], "CBM"), Rfax([3253.0,7710.0], "VFF"), Rfax([7710.0,3253.0], "VFR"), Rfax([4416,6915.1], "VCO"), Rfax([4292.0,8456.0], "VFA"), Rfax([2054,4298,8459,12412.5], "NOJ"), Rfax([4346,8682,12786,17151.2,22527], "NMC"), Rfax([4317.9,8503.9,12789.9,17146.4], "NMG"), Rfax([4235,6340.5,9110,12750], "NMF"), Rfax([2628, 5100,11030,13920,20469], "VMC"), Rfax([5755,7535,10555,15615,18060], "VMW"), Rfax([3247.4,5807,9459,13550.5,16340.1], "ZKLF"), Rfax([9982.5,11090,16135], "KVM70"), Rfax([4481, 8105], "SVJ4", khz_offset=0), Rfax([5336,6445.5,7908.8], "RBW41"), Rfax([10130], "RBW48"), Rfax([3855], "DDH3"), Rfax([7880], "DDK3"), Rfax([13882.5], "DDK6"), Rfax([2618.5,4610.0,8040.0,11086.5], "GYA"), ] modulation = "USB" bandwidth = 2700 for station in rfaxStations: for freq in station.freqs: freq = int((freq + station.offset) * 1000) print(freq , ';', station.name, ';', modulation, ';', bandwidth, ';', tag)