{"action":"created","issue":{"url":"https://api.github.com/repos/cscheiblich/JWave/issues/18","repository_url":"https://api.github.com/repos/cscheiblich/JWave","labels_url":"https://api.github.com/repos/cscheiblich/JWave/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/cscheiblich/JWave/issues/18/comments","events_url":"https://api.github.com/repos/cscheiblich/JWave/issues/18/events","html_url":"https://github.com/cscheiblich/JWave/issues/18","id":263830093,"node_id":"MDU6SXNzdWUyNjM4MzAwOTM=","number":18,"title":"Arbitrary length wavelet coefficients order ","user":{"login":"uidp1499","id":14341659,"node_id":"MDQ6VXNlcjE0MzQxNjU5","avatar_url":"https://avatars0.githubusercontent.com/u/14341659?v=4","gravatar_id":"","url":"https://api.github.com/users/uidp1499","html_url":"https://github.com/uidp1499","followers_url":"https://api.github.com/users/uidp1499/followers","following_url":"https://api.github.com/users/uidp1499/following{/other_user}","gists_url":"https://api.github.com/users/uidp1499/gists{/gist_id}","starred_url":"https://api.github.com/users/uidp1499/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uidp1499/subscriptions","organizations_url":"https://api.github.com/users/uidp1499/orgs","repos_url":"https://api.github.com/users/uidp1499/repos","events_url":"https://api.github.com/users/uidp1499/events{/privacy}","received_events_url":"https://api.github.com/users/uidp1499/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-09T09:20:09Z","updated_at":"2018-12-13T08:21:50Z","closed_at":"2018-07-17T11:21:48Z","author_association":"NONE","body":"Hello,\r\n\r\nI have tried to understand the working of Ancient Egyptian Decomposition transform for wavelet transforms, but when trying to address the coefficients corresponding to a particular frequency band I am having difficulty in finding a pattern.\r\n\r\nWhen we have a wavelet transform, it divides the coefficients in each level by 2 from the Low frequency (Approximate coefficients) copying detailed coefficients as it is in next level\r\nHere it is easy to find a pattern as we know every time the approximate coefficients were divided in index by 2\r\n\r\nBut what would be the case when we are working with arbitrary length signals?\r\n\r\n`   \r\n\r\n    Wavelet demy =  WaveletBuilder.create( \"Discrete Mayer\" );\r\n    Transform fwt = new Transform(new AncientEgyptianDecomposition ( new FastWaveletTransform( demy ) ) );\r\n\r\n    int level_decomposed = 4;\r\n    double [] arrTime = getTimeSeriesData(); // returns an array of arbitrary length every time @30Hz\r\n\r\n    // These values for de-noising the signal only works for 2^p length signals\r\n    // Denoising to 0 - 3.75Hz \r\n    int dcValuesP = pulse.length / (int) Math.pow(2.0, (double) level_decomposed);\r\n    int value_denoise = dcValuesP * 2;\r\n    \r\n    double [] arrHilb = fwt.forward(arrTime);\r\n\r\n    for (int dp = value_denoise; dp < arrHilb.length; dp++) {\r\n        arrHilb[dp] = 0.0D;\r\n    }\r\n\r\n    for (int i = 0; i < dcValuesP; i++) {\r\n        arrHilb[i] = 0.0D;\r\n    }\r\n\r\n    double [] arrReco = fwt.reverse(arrHilb);\r\n    `\r\n\r\nCould you help me in finding the pattern which would help me achieve similar denoising effect (0-30Hz to 0-3.75Hz using dmey wavelet) for arbitrary length time series data?\r\n\r\nPS. I was working the same in Matlab there we get an array of index book keeping for a particular range of coefficients, if there is something similar to it, that would be great!"},"comment":{"url":"https://api.github.com/repos/cscheiblich/JWave/issues/comments/446881153","html_url":"https://github.com/cscheiblich/JWave/issues/18#issuecomment-446881153","issue_url":"https://api.github.com/repos/cscheiblich/JWave/issues/18","id":446881153,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njg4MTE1Mw==","user":{"login":"liuguiyangnwpu","id":5275638,"node_id":"MDQ6VXNlcjUyNzU2Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5275638?v=4","gravatar_id":"","url":"https://api.github.com/users/liuguiyangnwpu","html_url":"https://github.com/liuguiyangnwpu","followers_url":"https://api.github.com/users/liuguiyangnwpu/followers","following_url":"https://api.github.com/users/liuguiyangnwpu/following{/other_user}","gists_url":"https://api.github.com/users/liuguiyangnwpu/gists{/gist_id}","starred_url":"https://api.github.com/users/liuguiyangnwpu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuguiyangnwpu/subscriptions","organizations_url":"https://api.github.com/users/liuguiyangnwpu/orgs","repos_url":"https://api.github.com/users/liuguiyangnwpu/repos","events_url":"https://api.github.com/users/liuguiyangnwpu/events{/privacy}","received_events_url":"https://api.github.com/users/liuguiyangnwpu/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T08:21:50Z","updated_at":"2018-12-13T08:21:50Z","author_association":"NONE","body":"![image](https://user-images.githubusercontent.com/5275638/49925012-b9f23880-fef2-11e8-9f30-6f902d789f19.png)\r\ncan i use this method to fetch the approximation information and high frequency information sequence?\r\n\r\n![image](https://user-images.githubusercontent.com/5275638/49925108-f45bd580-fef2-11e8-8940-a87bbdb94033.png)\r\n\r\nIn a word, I want to use JWavelet package to get this result \r\n\r\n![image](https://user-images.githubusercontent.com/5275638/49925194-2bca8200-fef3-11e8-967a-fef1a7e50c00.png)\r\n"}}
{"actor":{"display_login":"liuguiyangnwpu"}}