{"action":"created","issue":{"url":"https://api.github.com/repos/josephhardinee/PyDisdrometer/issues/30","repository_url":"https://api.github.com/repos/josephhardinee/PyDisdrometer","labels_url":"https://api.github.com/repos/josephhardinee/PyDisdrometer/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/josephhardinee/PyDisdrometer/issues/30/comments","events_url":"https://api.github.com/repos/josephhardinee/PyDisdrometer/issues/30/events","html_url":"https://github.com/josephhardinee/PyDisdrometer/issues/30","id":162386219,"number":30,"title":"calculate slope coefficient(Λ)","user":{"login":"godofyoga","id":10925363,"avatar_url":"https://avatars.githubusercontent.com/u/10925363?v=3","gravatar_id":"","url":"https://api.github.com/users/godofyoga","html_url":"https://github.com/godofyoga","followers_url":"https://api.github.com/users/godofyoga/followers","following_url":"https://api.github.com/users/godofyoga/following{/other_user}","gists_url":"https://api.github.com/users/godofyoga/gists{/gist_id}","starred_url":"https://api.github.com/users/godofyoga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godofyoga/subscriptions","organizations_url":"https://api.github.com/users/godofyoga/orgs","repos_url":"https://api.github.com/users/godofyoga/repos","events_url":"https://api.github.com/users/godofyoga/events{/privacy}","received_events_url":"https://api.github.com/users/godofyoga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-27T07:03:50Z","updated_at":"2016-08-09T04:09:33Z","closed_at":"2016-08-09T04:09:33Z","body":"I want to calculate and plot slope coefficient of DSD.I have tried with moments method this way is it useful?\r\n\r\n self.fields['mslope'] = {'data': np.zeros(len(self.time))}            \r\nself.fields['mslope']['data'] = self._calculate_mslope(self.Nd[t])\r\n    def _calculate_mslope(self):\r\n        G=np.divide(self._calc_mth_moment(3)**2,np.multiply(self._calc_mth_moment(2),self._calc_mth_moment(4)))\r\n       mslope = np.divide(self._calc_mth_moment(2),self._calc_mth_moment(3))*(G/(1.0-G))\r\n        \r\n        return mslope\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/josephhardinee/PyDisdrometer/issues/comments/238448366","html_url":"https://github.com/josephhardinee/PyDisdrometer/issues/30#issuecomment-238448366","issue_url":"https://api.github.com/repos/josephhardinee/PyDisdrometer/issues/30","id":238448366,"user":{"login":"josephhardinee","id":761704,"avatar_url":"https://avatars.githubusercontent.com/u/761704?v=3","gravatar_id":"","url":"https://api.github.com/users/josephhardinee","html_url":"https://github.com/josephhardinee","followers_url":"https://api.github.com/users/josephhardinee/followers","following_url":"https://api.github.com/users/josephhardinee/following{/other_user}","gists_url":"https://api.github.com/users/josephhardinee/gists{/gist_id}","starred_url":"https://api.github.com/users/josephhardinee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephhardinee/subscriptions","organizations_url":"https://api.github.com/users/josephhardinee/orgs","repos_url":"https://api.github.com/users/josephhardinee/repos","events_url":"https://api.github.com/users/josephhardinee/events{/privacy}","received_events_url":"https://api.github.com/users/josephhardinee/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T04:09:33Z","updated_at":"2016-08-09T04:09:33Z","body":"If this does not answer your question, feel free to reopen the issue, but I will close it for now. "}}
{"actor":{"display_login":"josephhardinee"}}