<commit_before># GO-DSP

go-dsp is a digital signal processing package for the [Go programming language](http://golang.org).

## Packages

* **fft** - fast Fourier transform
  * **fft.FFT([]complex128) []complex128** - forward FFT for complex inputs
  * **fft.IFFT([]complex128) []complex128** - inverse FFT for complex inputs
  * **fft.FFT_real([]float64) []complex128** - forward FFT for real inputs
  * **fft.IFFT_real([]float64) []complex128** - inverse FFT for real inputs

## TODO

* All FFT functions:
  * use goroutines

## Authors

**<NAME>**

* http://mattjibson.com
* http://github.com/mjibson

## License

Licensed under the BSD license.<commit_msg>Add installation and use example<commit_after># GO-DSP

go-dsp is a digital signal processing package for the [Go programming language](http://golang.org).

## Packages

* **fft** - fast Fourier transform
  * **fft.FFT([]complex128) []complex128** - forward FFT for complex inputs
  * **fft.IFFT([]complex128) []complex128** - inverse FFT for complex inputs
  * **fft.FFT_real([]float64) []complex128** - forward FFT for real inputs
  * **fft.IFFT_real([]float64) []complex128** - inverse FFT for real inputs

## Installation

```$ goinstall "github.com/mjibson/go-dsp/fft"```

```package main

import "github.com/mjibson/go-dsp/fft"
import "fmt"

func main() {
        fmt.Println(fft.FFT_real([]float64 {1, 2, 3}))
}```

## TODO

* All FFT functions:
  * use goroutines

## Authors

**<NAME>**

* http://mattjibson.com
* http://github.com/mjibson

## License

Licensed under the BSD license.
{'fraction_non_alphanumeric': 0.1615186615186615, 'fraction_numerical': 0.03153153153153153, 'mean_word_length': 4.271186440677966, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7070077', 'n_tokens_mistral': 587, 'n_tokens_neox': 535, 'n_words': 144}