caileighf / cli-spectrogram Goto Github PK
View Code? Open in Web Editor NEWCommand line interface spectrogram
License: GNU Lesser General Public License v2.1
Command line interface spectrogram
License: GNU Lesser General Public License v2.1
Resolution is not good enough to see chirps clearly. Need to fix this
Would be nice to have the ability to "tag" times when interesting stuff happens to refer back to later. Would also be nice to "auto tag" when there is a tone of a certain frequency or chirp within a range.
--nfft has a minimum limit of 200. If values less than 200 are passed the app crashes
When --nfft is greater than 200, the spectrogram becomes wider than the max screen width and will crash if the window is resized because the max window width doesn't account for a wider spectrogram.
Binary files are not supported yet. Need to fix documentation... Support for binary files should be adding in the next minor release
Add subplot with voltage over time.
Method to correctly calculate argmax of freq:
def calc_argmax_freq(self, frequency_vector):
freqs = numpy.fft.fftfreq(len(frequency_vector))
idx = numpy.argmax(numpy.abs(frequency_vector))
self.argmax_freq = int(abs(freqs[idx] * self.sample_rate))
I have it in corrected in a feature branch by mistake. Will merge this branch soon anyways...
The following lines are in specgram.py
and are the only times we use numpy. Might be able to remove the numpy dep if there is an alternative to the following methods in python std libs.
frequency_vector = numpy.fft.fft(data[start:start + self.nfft])
freqlist = numpy.fft.fftfreq(self.nfft) * self.sample_rate
Need to figure out what's going on with common.py and fix for existing release. I am planning to create a new release soon...
--file-length should to support files shorter than 1 second and ideally full and half seconds should be an option (e.g., 0.5s, 1.0s, 1.5s ... )
Add auto config handling for MCC_DAQ driver config JSON
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.