{"action":"created","issue":{"url":"https://api.github.com/repos/MattOates/Math--FourierTransform/issues/5","repository_url":"https://api.github.com/repos/MattOates/Math--FourierTransform","labels_url":"https://api.github.com/repos/MattOates/Math--FourierTransform/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/MattOates/Math--FourierTransform/issues/5/comments","events_url":"https://api.github.com/repos/MattOates/Math--FourierTransform/issues/5/events","html_url":"https://github.com/MattOates/Math--FourierTransform/issues/5","id":312056443,"node_id":"MDU6SXNzdWUzMTIwNTY0NDM=","number":5,"title":"A suggestion","user":{"login":"frithnanth","id":3965144,"node_id":"MDQ6VXNlcjM5NjUxNDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3965144?v=4","gravatar_id":"","url":"https://api.github.com/users/frithnanth","html_url":"https://github.com/frithnanth","followers_url":"https://api.github.com/users/frithnanth/followers","following_url":"https://api.github.com/users/frithnanth/following{/other_user}","gists_url":"https://api.github.com/users/frithnanth/gists{/gist_id}","starred_url":"https://api.github.com/users/frithnanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frithnanth/subscriptions","organizations_url":"https://api.github.com/users/frithnanth/orgs","repos_url":"https://api.github.com/users/frithnanth/repos","events_url":"https://api.github.com/users/frithnanth/events{/privacy}","received_events_url":"https://api.github.com/users/frithnanth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-06T17:30:25Z","updated_at":"2018-07-25T12:17:06Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nmay I suggest to add an \"examples\" directory with at least one little program to show how to go from samples to spectrum and back?\r\nIt might look like this:\r\n```\r\nuse Math::FourierTransform;\r\n\r\nmy Complex @data = (1..6)».Complex;\r\nsay @data;\r\nmy Complex @spectrum = discrete-fourier-transform @data;\r\nsay @spectrum;\r\nmy Complex @back = (discrete-fourier-transform(@spectrum».conj)».conj) »/» @data.elems;\r\nsay @back;\r\n# Let's cheat!\r\nsay @back».round(10⁻¹²);\r\n```\r\nAdditional examples may show how to use the transformed data to implement a high or low-pass filter."},"comment":{"url":"https://api.github.com/repos/MattOates/Math--FourierTransform/issues/comments/407734661","html_url":"https://github.com/MattOates/Math--FourierTransform/issues/5#issuecomment-407734661","issue_url":"https://api.github.com/repos/MattOates/Math--FourierTransform/issues/5","id":407734661,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzczNDY2MQ==","user":{"login":"MattOates","id":1164696,"node_id":"MDQ6VXNlcjExNjQ2OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1164696?v=4","gravatar_id":"","url":"https://api.github.com/users/MattOates","html_url":"https://github.com/MattOates","followers_url":"https://api.github.com/users/MattOates/followers","following_url":"https://api.github.com/users/MattOates/following{/other_user}","gists_url":"https://api.github.com/users/MattOates/gists{/gist_id}","starred_url":"https://api.github.com/users/MattOates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattOates/subscriptions","organizations_url":"https://api.github.com/users/MattOates/orgs","repos_url":"https://api.github.com/users/MattOates/repos","events_url":"https://api.github.com/users/MattOates/events{/privacy}","received_events_url":"https://api.github.com/users/MattOates/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T12:17:06Z","updated_at":"2018-07-25T12:17:06Z","author_association":"OWNER","body":"Hi Fernando, if you want to edit the README with what you'd like to see I'm happy to accept a PR. That way you go on record as knowing whats happening in the example ;P"}}
{"actor":{"display_login":"MattOates"}}