-
Notifications
You must be signed in to change notification settings - Fork 108
PLR Plate Quadrant Definition Standardization #410
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
PLR Plate Quadrant Definition Standardization #410
Conversation
so quick! do you want to add a doc page with the contents of your PR + the gif? i like to make docs in notebooks so that people can download and play with it locally |
Yes, that's a very good idea, and all the code is already made :) I'll find some time over the weekend to write the docs page. |
i think quadrant documentation should be moved from the 96 head (maybe keep one example there) to the plates page. |
Hi everyone,
In this PR I've updated the incomplete and broken
Plate.get_quadrant()
method, to a version that is functional independent of the wellplate format and enables flexible quadrant definitions.Problem statement
Currently,
Plate.get_quadrant()
...Well
extractions.Background: Definition Standardization
As proposed and discussed in the PLR developer forum (Quadrant Definition Standardization Across PLR & Across Plate Formats), PLR defines quadrants based on the first well of the quadrant's relative position to the plate's origin:
PR Content
Here, I create a new
Plate.get_quadrant()
method which enables versatile quadrant usage for anyPlate
with even rows and even columns:A minimal code example for you to test and explore its functionality:
Examples:
->
By default, quadrant_type = "checkerboard", quadrant_internal_fill_order = "column-major":
For simplified inspection, we can
get_identifier()
for eachWell
:switching to "checkerboard" & "row-major":
switching to "block" & "column-major":
switching to "block" & "row-major":
All possible quadrants are "top_left"/"tl", "top_right"/"tr", "bottom_left"/"bl", "bottom_right"/"br".
The same standardization scheme applies to any
Plate
with even rows and even columns.