{"id":15009011,"url":"https://github.com/lichtso/ccwt","last_synced_at":"2026-03-13T16:33:13.365Z","repository":{"id":62561209,"uuid":"78057529","full_name":"Lichtso/CCWT","owner":"Lichtso","description":"Complex Continuous Wavelet Transform","archived":false,"fork":false,"pushed_at":"2024-04-12T15:23:09.000Z","size":4886,"stargazers_count":162,"open_issues_count":1,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T16:13:52.231Z","etag":null,"topics":["c99","fft","png","python-2","python-3","python-bindings","signal-processing","wavelet"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lichtso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-04T22:17:58.000Z","updated_at":"2025-03-11T11:35:07.000Z","dependencies_parsed_at":"2024-09-24T19:22:29.020Z","dependency_job_id":"f9ada5b7-c4d8-4c88-be2c-3d0592d8daa3","html_url":"https://github.com/Lichtso/CCWT","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FCCWT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FCCWT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FCCWT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FCCWT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lichtso","download_url":"https://codeload.github.com/Lichtso/CCWT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c99","fft","png","python-2","python-3","python-bindings","signal-processing","wavelet"],"created_at":"2024-09-24T19:22:25.177Z","updated_at":"2026-03-13T16:33:12.954Z","avatar_url":"https://github.com/Lichtso.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCWT library for C and Python\n\nDid you ever wanted to easily generate a spectrogram like this one?\n\n![spectrogram](https://raw.githubusercontent.com/Lichtso/CCWT/gallery/teaser.png)\n\nTake the [Tutorial](https://github.com/Lichtso/CCWT/wiki/Tutorial) with lots of examples and all features being explained.\n\n\n## Features\nComplex [continuous wavelet transformation](https://en.wikipedia.org/wiki/Continuous_wavelet_transform)\n- with a [gabor wavelet](https://en.wikipedia.org/wiki/Gabor_wavelet)\n- interfaces for C99, python2.7 and python3.5\n- using [libFFTW](http://www.fftw.org) for performance\n- and [libPNG](http://www.libpng.org/pub/png/libpng.html) as possible output\n- 4 synchrosqueeze modes\n- 6 color schemes\n- parallelization / multithreading support\n- customizable frequency bands\n- helper method for linear and exponential frequency bands\n\n\n## Dependencies\n\n### Ubuntu\n```bash\nsudo apt-get install libfftw3-dev libpng-dev\n```\n\n### Arch Linux\n```bash\nsudo pacman -S fftw libpng\n```\n\n### Mac OS\n```bash\nbrew install fftw libpng\n```\n\n\n## Installation\n```bash\n[sudo] pip[3] install ccwt\n```\n\n\n## Documentation\n\n### ccwt.fft()\n- input_signal: Numpy 1D float32, float64, complex64 or complex128 array\n- padding: Zero samples to be virtually added at each end of the input signal, default is 0\n- thread_count: Default is 1 (no multi threading)\n\n### ccwt.frequency_band()\n- height: Height of the resulting image in pixels and number of frequencies to analyze\n- frequency_range: Difference between the highest and the lowest frequency to analyze, default is height/2\n- frequency_offset: Lowest frequency to analyze, default is 0.0\n- frequency_basis: Values \u003e 0.0 switch from a linear to an exponential frequency scale using this as basis, default is 0.0 / linear mode\n- deviation: Values near 0.0 have better frequency resolution, values towards infinity have better time resolution, default is 1.0\n\n### ccwt.numeric_output()\n- fourier_transformed_signal: Numpy 1D complex128 array generated by ccwt.fft()\n- frequency_band: Numpy 2D float64 array generated by ccwt.frequency_band()\n- width: Width of the resulting image in pixels, can be the length of the input signal or less for downsampling\n- padding: Same value as passed to ccwt.fft()\n- thread_count: Default is 1 (no multi threading)\n\n### ccwt.render_png()\nSame as ccwt.numeric_output() but with these additionally at the beginning:\n- file: File object to store the resulting PNG image\n- render_mode: indicating the color scheme for rendering, see include/render_mode.h for possible values\n- logarithmic_basis: Values \u003e 0.0 switch from a linear to a logarithmic intensity rendering using this as basis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flichtso%2Fccwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flichtso%2Fccwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flichtso%2Fccwt/lists"}