Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change morphology model input format #151

Open
cdeil opened this issue Aug 23, 2017 · 0 comments
Open

Change morphology model input format #151

cdeil opened this issue Aug 23, 2017 · 0 comments
Assignees
Milestone

Comments

@cdeil
Copy link
Contributor

cdeil commented Aug 23, 2017

This is a reminder issue that I'm assigning to myself.

I'd like to change the morphology model input format a little, pretty much to what I did for spectra here: #119

So this:

pos:
  glon: {val: 332.391d, err: 0.014d}
  glat: {val: 0.138d, err: 0.013d}

morph:
  type: gauss
  sigma: {val: 0.136d, err: 0.008d}

would change to this:

morph:
  model:
    type: gauss
    parameters:
      glon: {val: 332.391d, err: 0.014d}
      glat: {val: 0.138d, err: 0.013d}
      sigma: {val: 0.136d, err: 0.008d}
  # could have other info about the measurement here

This requires an hour or two of tedious input data reformatting, but also changes to the spec, scripts, possibly output format and Gammapy, so I'd like to do it myself.

@cdeil cdeil added this to the wishlist milestone Aug 23, 2017
@cdeil cdeil self-assigned this Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant