File tree Expand file tree Collapse file tree 3 files changed +28
-7
lines changed
Expand file tree Collapse file tree 3 files changed +28
-7
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,30 @@ Creating a free and open source framework that contains the generic algorithms a
1515 * python 3.6
1616
1717
18- ## Documentation
19- Will be added later.
18+ # Getting started
2019
21- ## How to use this library
20+ ## Example filterbank files
21+ ### Use one of the following filterbank files as an example:
22+ * <a href =" https://git.dev.ti-more.net/uploads/-/system/personal_snippet/2/bc063035797e978034adfb6f2da75e70/pspm8.fil " >8 bit</a >
23+ * <a href =" https://git.dev.ti-more.net/uploads/-/system/personal_snippet/2/bc063035797e978034adfb6f2da75e70/pspm16.fil " >16 bit</a >
24+ * <a href =" https://git.dev.ti-more.net/uploads/-/system/personal_snippet/2/bc063035797e978034adfb6f2da75e70/pspm32.fil " >32 bit</a >
2225
23- ### Read header data
26+ ## Import
27+ > ``` from filterbank.filterbank import * ```
2428
25- 1 . Specify the path to the filterbank file in the header.py file (line 124)
26- 2 . Run the following command: ` python header.py `
29+ # Tutorial
2730
28- # Asteria
31+ ### Create a filterbank object
32+ > ``` filterbank = Filterbank(<PATH TO FILTERBANK FILE>) ```
33+
34+ ### Read the header from filterbank data
35+ > ``` filterbank.header ```
36+
37+ ### Read filterbank file to 3d numpy array
38+ > ``` filterbank.read_filterbank ```
39+
40+ ### Calculate the frequency range
41+ > ``` filterbank.setup_freqs ```
42+
43+ ### Calculate the time range
44+ > ``` filterbank.setup_freqs ```
Original file line number Diff line number Diff line change 1+ from filterbank .filterbank import *
2+
3+ filterbank = Filterbank ('./pspm8.fil' )
4+
5+ print (filterbank .header )
You can’t perform that action at this time.
0 commit comments