riyagori1203 / rfi-loc Goto Github PK
View Code? Open in Web Editor NEWA python based software which can be used to localize possible RFI sources
A python based software which can be used to localize possible RFI sources
After identifying and selecting multiple intersections I clicked on the "Save Positions" button. The output.txt
file has only the output from the last source selected source 14
.
output.txt
source 14 ['24', '25', '32', '43', '22', '42', '70', '8', '20', '41', '19', '40', '21', '16', '33', '54', '55', '35', '44', '51', '52', '5', '39', '49', '4', '50', '6', '10', '11', '69', '9', '18', '29', '56', '73', '26', '27']position: 597.97 14.85
The delay_ids get appended to the list without clearing.
The output on the terminal looks fine:
source 1 -> ['24', '25', '32', '43']
position: 374.57 , 248.19
source 2 -> ['22', '42', '70']
position: 704.27 , -1121.83
source 3 -> ['8', '20', '41']
position: 103.49 , 218.0
source 4 -> ['19', '40']
position: 82.25 , 202.55
source 5 -> ['21']
position: 117.0 , 239.23
source 6 -> ['16', '33', '54', '55']
position: 2212.03 , 3332.09
source 7 -> ['35', '44', '51', '52']
position: 3548.95 , 2856.45
source 8 -> ['5', '39', '49']
position: -963.04 , 1831.8
source 9 -> ['4', '50']
position: -984.5 , 1855.94
source 10 -> ['6']
position: -938.89 , 1826.43
source 11 -> ['10', '11', '69']
position: 548.87 , -1509.7
source 12 -> ['9', '18']
position: 521.07 , -1470.78
source 13 -> ['29', '56', '73']
position: -743.56 , 3704.59
source 14 -> ['26', '27']
position: 597.97 , 14.85
The expected behaviour is that the Save Positions Button will save all the previously identified sources in one shot. Not one at a time.
save_pos
to save all of them in one go.output.txt
for overwriting not for appending.There is no need for global variables in this code.
Redo parts of canvas.py that use global variables.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.