forked from DKISTDC/dkist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of VaryingCelestialTransform (DKISTDC#370)
* Change params on CompoundModel to avoid looping over model creation * Take units out of evaulate loop * Put units back on for inverse as well * Enforce strict units * Yeah you can go ahead and burn all that * Strip the units somewhere else instead and also fix them * More units fiddling * generate_celestial_transform needs to take a transform now * Assorted units fixes for tests now there are units inside the transform * Make the tests pass, but at what cost * Add a changelog --------- Co-authored-by: Stuart Mumford <[email protected]>
- Loading branch information
Showing
3 changed files
with
128 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Improve performance of ``VaryingCelestialTransform`` classes by not creating a new transform for every set of parameters but instead update the parameters on a single model. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters