{"action":"opened","issue":{"url":"https://api.github.com/repos/fury-gl/fury/issues/2","repository_url":"https://api.github.com/repos/fury-gl/fury","labels_url":"https://api.github.com/repos/fury-gl/fury/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fury-gl/fury/issues/2/comments","events_url":"https://api.github.com/repos/fury-gl/fury/issues/2/events","html_url":"https://github.com/fury-gl/fury/issues/2","id":362277701,"node_id":"MDU6SXNzdWUzNjIyNzc3MDE=","number":2,"title":"Dipy visualization (fvtk) crash when saving series of images","user":{"login":"skoudoro","id":23106443,"node_id":"MDQ6VXNlcjIzMTA2NDQz","avatar_url":"https://avatars2.githubusercontent.com/u/23106443?v=4","gravatar_id":"","url":"https://api.github.com/users/skoudoro","html_url":"https://github.com/skoudoro","followers_url":"https://api.github.com/users/skoudoro/followers","following_url":"https://api.github.com/users/skoudoro/following{/other_user}","gists_url":"https://api.github.com/users/skoudoro/gists{/gist_id}","starred_url":"https://api.github.com/users/skoudoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skoudoro/subscriptions","organizations_url":"https://api.github.com/users/skoudoro/orgs","repos_url":"https://api.github.com/users/skoudoro/repos","events_url":"https://api.github.com/users/skoudoro/events{/privacy}","received_events_url":"https://api.github.com/users/skoudoro/received_events","type":"User","site_admin":false},"labels":[{"id":1063750628,"node_id":"MDU6TGFiZWwxMDYzNzUwNjI4","url":"https://api.github.com/repos/fury-gl/fury/labels/type:Question","name":"type:Question","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-20T16:59:38Z","updated_at":"2018-09-20T16:59:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"_From @mick-d on May 12, 2015 22:29_\n\nI wrote a script to save a series of slice visualization (ellipsoids) with dipy vtk module (`fvtk`). However after a few slices (around 6) python crashes with only error message \"Segmentation fault (core dumped)\".\n\nThe script goes:\n\n```\ntenmodel = dti.TensorModel(my_gradient_table)\ntenfit = tenmodel.fit(my_masked_dwi_data)\nRGB = color_fa(my_FA_image, tenfit.evecs)\nsphere = get_sphere('symmetric724')\nren = fvtk.ren()\nfor iSlice in range(0,tenfit.evals.shape[2]):\n    fvtk.add(ren, fvtk.tensor(tenfit.evals[:,:,iSlice:iSlice+1], tenfit.evecs[:,:,iSlice:iSlice+1], RGB_scaled[:,:,iSlice:iSlice+1], sphere))\n    fvtk.record(ren, n_frames=1, out_path='slice_'+(\"%03d\" % iSlice)+'.png', size=(1000, 1000)) \n    fvtk.clear(ren) \n```\n\n\n_Copied from original issue: nipy/dipy#645_"}}
{"actor":{"display_login":"skoudoro"}}