{"action":"opened","issue":{"url":"https://api.github.com/repos/canSAS-org/canSAS2012/issues/11","labels_url":"https://api.github.com/repos/canSAS-org/canSAS2012/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/canSAS-org/canSAS2012/issues/11/comments","events_url":"https://api.github.com/repos/canSAS-org/canSAS2012/issues/11/events","html_url":"https://github.com/canSAS-org/canSAS2012/issues/11","id":106943133,"number":11,"title":"Design of masking arrays","user":{"login":"ajj","id":871392,"avatar_url":"https://avatars.githubusercontent.com/u/871392?v=3","gravatar_id":"","url":"https://api.github.com/users/ajj","html_url":"https://github.com/ajj","followers_url":"https://api.github.com/users/ajj/followers","following_url":"https://api.github.com/users/ajj/following{/other_user}","gists_url":"https://api.github.com/users/ajj/gists{/gist_id}","starred_url":"https://api.github.com/users/ajj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajj/subscriptions","organizations_url":"https://api.github.com/users/ajj/orgs","repos_url":"https://api.github.com/users/ajj/repos","events_url":"https://api.github.com/users/ajj/events{/privacy}","received_events_url":"https://api.github.com/users/ajj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T09:15:30Z","updated_at":"2015-09-17T09:15:30Z","closed_at":null,"body":"I noted a point from the 2012 discussion on the “mask” use. It may be of interest to add mask data to processed data as well (as found by the PyFAI group amongst others). The suggestion on the canSAS wiki was to use a 1-bit “Mask” array with “1” being “masked”.\r\n\r\nHowever, we could adopt a format more in line with the NeXus definitions for masks. This can be found here:\r\nhttp://download.nexusformat.org/doc/html/classes/base_classes/NXdetector.html\r\n(scroll to “pixel_mask”). A more detailed mask like this can help understand masked pixels.\r\n\r\nI’ll go clean up some of the “imp2” code now :).\r\n\r\nCheers,\r\n\r\nBrian."}}