{"action":"created","issue":{"url":"https://api.github.com/repos/dkirkby/bossdata/issues/83","labels_url":"https://api.github.com/repos/dkirkby/bossdata/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/dkirkby/bossdata/issues/83/comments","events_url":"https://api.github.com/repos/dkirkby/bossdata/issues/83/events","html_url":"https://github.com/dkirkby/bossdata/issues/83","id":93926300,"number":83,"title":"bossplot 4020-55332-425","user":{"login":"kgage","id":12887722,"avatar_url":"https://avatars.githubusercontent.com/u/12887722?v=3","gravatar_id":"","url":"https://api.github.com/users/kgage","html_url":"https://github.com/kgage","followers_url":"https://api.github.com/users/kgage/followers","following_url":"https://api.github.com/users/kgage/following{/other_user}","gists_url":"https://api.github.com/users/kgage/gists{/gist_id}","starred_url":"https://api.github.com/users/kgage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgage/subscriptions","organizations_url":"https://api.github.com/users/kgage/orgs","repos_url":"https://api.github.com/users/kgage/repos","events_url":"https://api.github.com/users/kgage/events{/privacy}","received_events_url":"https://api.github.com/users/kgage/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dkirkby/bossdata/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-09T01:17:05Z","updated_at":"2015-07-15T08:53:53Z","closed_at":null,"body":"The following command (with verbose output)\r\n```\r\n$ bossplot --plate 4020 --mjd 55332 --fiber 425 --verbose\r\nPlotting combined spectrum for 4020-55332-0425.\r\nExposure summary:\r\n exp    arc    flat   b1  b2  r1  r2\r\n------ ------ ------ --- --- --- ---\r\n115230 115233 115232   1   0   8   0\r\n115231 115233 115232   2   0   9   0\r\n115353 115357 115356   3   0  10   0\r\n115354 115357 115356   4   0  11   0\r\n115355 115357 115356   5   0  12   0\r\n115426 115429 115428   6   0  13   0\r\n115427 115429 115428   7   0  14   0\r\nShowing coadd of 14 blue+red exposures.\r\nCoadd (AND) pixel mask summary:\r\n 4074 LOWFLAT\r\n   11 NEARBADPIXEL\r\n  287 BRIGHTSKY\r\n 4596 BADFLAT\r\n    1 BADSKYCHI\r\n```\r\nGives the following image:\r\n![4020-55332-425](https://cloud.githubusercontent.com/assets/12887722/8585800/f52bf1a4-259b-11e5-9e52-7b7fbe3da805.png)\r\n\r\nUsing \r\n```\r\n$ bossplot --plate 4020 --mjd 55332 --fiber 425 --wlen-range [4000:10000] --flux-range [-2:8]\r\n```\r\ngives this:\r\n![4020-55332-425v2](https://cloud.githubusercontent.com/assets/12887722/8585900/25aaff68-259d-11e5-8a70-c5f2d5bb010a.png)\r\n\r\n\r\nThese are very different from the spectrum shown on the SDSS object explorer:\r\n![420-55332-425sdss](https://cloud.githubusercontent.com/assets/12887722/8585847/974b2874-259c-11e5-9165-ade6546aa7ef.png)\r\nat http://skyserver.sdss.org/dr12/en/get/SpecById.ashx?id=4526234538074632192"},"comment":{"url":"https://api.github.com/repos/dkirkby/bossdata/issues/comments/121534275","html_url":"https://github.com/dkirkby/bossdata/issues/83#issuecomment-121534275","issue_url":"https://api.github.com/repos/dkirkby/bossdata/issues/83","id":121534275,"user":{"login":"dkirkby","id":185007,"avatar_url":"https://avatars.githubusercontent.com/u/185007?v=3","gravatar_id":"","url":"https://api.github.com/users/dkirkby","html_url":"https://github.com/dkirkby","followers_url":"https://api.github.com/users/dkirkby/followers","following_url":"https://api.github.com/users/dkirkby/following{/other_user}","gists_url":"https://api.github.com/users/dkirkby/gists{/gist_id}","starred_url":"https://api.github.com/users/dkirkby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkirkby/subscriptions","organizations_url":"https://api.github.com/users/dkirkby/orgs","repos_url":"https://api.github.com/users/dkirkby/repos","events_url":"https://api.github.com/users/dkirkby/events{/privacy}","received_events_url":"https://api.github.com/users/dkirkby/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T08:53:53Z","updated_at":"2015-07-15T08:53:53Z","body":"There are already *two* options to override the default behavior: `--allow-mask` and `--show-invalid`.  The first lets you ignore specific mask bits, e.g.\r\n```\r\nbossplot --plate 4020 --mjd 55332 --fiber 425 --allow-mask 'LOWFLAT|BADFLAT'\r\n```\r\n![allow](https://cloud.githubusercontent.com/assets/185007/8694444/fb79ce74-2ad6-11e5-9e1b-ebd9667a8a2e.png)\r\n\r\nThe second option lets you see everything (included any unmasked ivar=0 pixels, if there are any):\r\n```\r\nbossplot --plate 4020 --mjd 55332 --fiber 425 --show-invalid\r\n```\r\n![invalid](https://cloud.githubusercontent.com/assets/185007/8694470/39e62acc-2ad7-11e5-8e4c-7cbad39f070c.png)\r\n\r\nNote that the `--show-invalid` option implies `--scatter` since we cannot guarantee to have non-zero ivar for plotting flux errors."}}