{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/3775","labels_url":"https://api.github.com/repos/astropy/astropy/issues/3775/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/3775/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/3775/events","html_url":"https://github.com/astropy/astropy/issues/3775","id":76071687,"number":3775,"title":"Add the unit 'crab' to astropy.units","user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/Effort-low","name":"Effort-low","color":"fef2c0"},{"url":"https://api.github.com/repos/astropy/astropy/labels/Package-novice","name":"Package-novice","color":"bfe5bf"},{"url":"https://api.github.com/repos/astropy/astropy/labels/units","name":"units","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-13T18:05:22Z","updated_at":"2015-06-10T14:52:04Z","closed_at":null,"body":"See http://en.wikipedia.org/wiki/Crab_%28unit%29"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/110782931","html_url":"https://github.com/astropy/astropy/issues/3775#issuecomment-110782931","issue_url":"https://api.github.com/repos/astropy/astropy/issues/3775","id":110782931,"user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T14:52:04Z","updated_at":"2015-06-10T14:52:04Z","body":"Is it also possible to have integral fluxes, i.e. in bands `(wavelength_lo, wavelength_hi)`?\r\nWhat about different references (e.g. paper A, B, C and pulsar vs. nebula)?\r\n\r\nEven if the answer to this is yes, do the units / quantity experts think this should be defined as units? Or would functions `crab_flux(wavelength)` and `crab_integral_flux(wavelength_lo, wavelength_hi)` that return quantities and then people compute flux ratios for their sources be simpler?\r\n\r\nAre something so ill-defined as the Crab SED welcome as a unit in Astropy core?\r\n\r\n(I've been wanting to improve the versions in Gammapy to use units and the SED integration method currently is too unstable. Once there is consensus on location and API I can make a PR for Astropy or Gammapy for this.)"}}