Repository navigation
DynamicalIndexer takes refine_side - #37
Merged
Merged
Conversation
…tion A scan summed from several frames a point has that many times longer per pattern, and can fit at a finer resolution (on a twin pattern 22, 49 and 155 ms per 256 patterns at 128, 256 and 512, indexing and fitting the strain). The default is 128, as before. Claude-Session: https://claude.ai/code/session_01DzXsKAUJSM4XYpqqzrcuV5
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DynamicalIndexer(..., refine_side=128)sets the long side, in pixels, that the refine and the fits read the patterns at, in the frame's aspect. The search keeps its own size, and the default is 128, as before.Autopilot's new Resolution setting (Good, Better, Best) uses it to fit at 256 from 4 frames a point and 512 from 16. Patterns arrive that many times more slowly, so the fit has that much more time per pattern. On a twin pattern, indexing plus the strain fit takes 22, 49 and 155 ms per 256 patterns at 128, 256 and 512. Until this is released, Autopilot sets the module's
REFINE_SIDEonly while it builds the indexer.Test:
test_the_refine_reads_the_patterns_at_the_side_asked_for. Ranruff check .,ruff format --check .andtests/test_dynamical_indexer_seam.py.https://claude.ai/code/session_01DzXsKAUJSM4XYpqqzrcuV5