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

Write pixel-based model class #5

Closed
rmjarvis opened this issue Mar 16, 2016 · 0 comments
Closed

Write pixel-based model class #5

rmjarvis opened this issue Mar 16, 2016 · 0 comments
Assignees
Milestone

Comments

@rmjarvis
Copy link
Owner

@suchyta1 and @gbernstein have started work on the design of this class already.

This will be the first of our LinearModel classes, so we should put some thought into what aspects of this are general enough to be extracted to a middle-tier base class for other linear models.

During the hack day, we though the following would be useful features for arbitrary linear models:

  1. Be able to compute the matrix that transforms from model parameters into pixel values
  2. Also compute the derivatives of this wrt a centroid shift

Then the LinearModel class could use these matrices to handle the fitting and centroiding (if we are doing that -- we might want to hold nominal centers fixed) in a completely general way that will also apply to e.g. shapelet models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants