Python miscellaneous
- Demix, Beats, and Onsets (Jupyter notebook) Musical audio source separation; identification of beats, downbeats, and onsets.
- ANN Regression (Jupyter notebook) Artificial neural network (ANN) for solving a regression problem. The ANN is written in plain Python, except for Numpy.
- Visualise Skeletons (Jupyter notebook) Generates a figure or video with skeletons from a pose estimation file produced by AlphaPose.
- Wavelet Coherence Transform (Jupyter notebook) Measures the consistency of phase difference amongst two or more periodic signals, at different time scales.
- Synthetic Oscillatory Data (Jupyter notebook) Generates data to test the measurement of synchronisation.
- Phase-Locking Value (Jupyter notebook) Measures the consistency of phase difference amongst two or more periodic signals.
- Two-Dimensional Density Estimation (Jupyter notebook) Density of several signals' peaks, preserving signal strength.
- Anamorphic Two-Dimensional Gaussian Kernel (Jupyter notebook) Non-square matrix with centered normal distribution values.
- Isochronal Time-Rescaling (Jupyter notebook) Time-rescaling of two or more signals into isochronal sections.
- Recurrence of Chord Roots in Audio File (Jupyter notebook) Finds the roots of chords, groups them according to recurrence, and finds the time location of their boundaries.
- Tracking and Pre-processing of Video Files with AlphaPose (Jupyter notebook) Tracks individuals in one or several video files, extracts one point for each individual, cleans the data, and saves to a file. Also generates plots and logs for data inspection.
- Pre-processing of AlphaPose Output (Jupyter notebook) Extracts one point of each individual tracked by AlphaPose, cleans the data, and saves to a file.
- Pose Detection and Tracking in Youtube Video using AlphaPose (Jupyter notebook) Downloads video from Youtube and detects the bodies of individual people in the image.
- Trim and Crop Video (Jupyter notebook)
- Download Youtube Video (Jupyter notebook) Downloads video from Youtube and writes a file with properties.
- Visualisation of Nasdaq Nordic Stocks priced in Euros (Jupyter notebook) Plots of historical rescaled average prices as time-series, grouped by industry and supersector.
- Correlation Analysis of Nasdaq Nordic Stocks priced in Euros (Jupyter notebook) Pairwise correlation of historical average prices at different time-scales, grouping by industry and supersector, visualisation of notable examples, and selection of uncorrelated stocks.
- Generate Music with Synthesised Bell Sounds (Jupyter notebook) Produces an mp3 file.
- Audio and MIR (Jupyter notebook) Load audio, extract chroma (keys), and perform segmentation with parametric clustering.
- One vs. Others (Jupyter notebook) Shows how the Dynamic Time Warping minimum-warp optimal path could be used to assess anticipation or delay of one moving body relative to other moving bodies.
- DTW, Minimum-Warp Path, and Pointwise Warp (Jupyter notebook) Two methods for the Dynamic Time Warping algorithm: a library function, and a procedural script. Also algorithms to reduce the time-warping of the optimal path and to get its pointwise warp.
- Reduced Rectified Multigranular Segmentation of Mean Absolute Deviation (Jupyter notebook)
- Reduced Rectified Multigranular Segmentation (Jupyter notebook) Aligned segmentation boundaries.
- Segmentation (Jupyter notebook) Yet another implementation of Foote's classic segmentation procedure for time-series or otherwise ordered data.
- Novelty Shows the computation of a novelty score comparing the methods 'offline' (Foote, 2000) and 'online' (Schätti, 2007).
- Logistic Function (Jupyter notebook)
- SQLite (Jupyter notebook) Some basic database procedures.
- Utilities: