Closed sellberg closed 11 years ago
Posting this image as a reference of what things should look like:
@sellberg correct me if this looks wrong
@tjlane yep, that looks what I'm used to seeing, each 2x1 is stacked lying down from top to bottom and each 2x1 column represents a quad
@sellberg I think this is fixed. Can you confirm and if so close the issue?
looks good when opening genmask, but the script is sneaky and rotates the image back after pressing a button, e.g. borders
reopening this issue...
@sellberg this looks fixed from my point of view -- can you check it out to confirm?
Also: I think we did this before, but is there a way to test that the pixel mask we are writing in cheetah format is correct?
looks good, here is an image of the cheetah output using the pypad mask as input, which looks consistent with what I made in pypad. maybe there's a better way of testing this..
closing this issue.
I was too hasty in my statement.. So the image now looks good in the sense that a quadrant is a column of 2x1's, but now when I mask manually the masking is out of position:
MARKED FOR MASKING
MASKED AREA
I'm pretty sure it wasn't like this during the beamtime, and must have happened when you did the switch of the direction, so it's probably a transpose issue.
opening this again...
working on this -- I am baffled currently
@sellberg try once more :). That was a sneaky bug!
@tjlane tried it again, and the masking looks good, but the whole array has the wrong size, where the array is 1552x1480 instead of 1480x1552 (see image and you'll see what I mean)
ARRAY SIZE
MASKING
@sellberg can you confirm, once more, that everything looks good and (most importantly) works in cheetah!
@tjlane OK, so I've checked the mask in pypad and it seems to work fine now. I also ran it as a test in the cheetah (r0013 - 150 hits) and the written mask seems to mask the right area. However, when I looked closer at the saved masked image I saw that it seems like the automatic masking is ignored in the written pixel mask, since it's not visible in the cheetah image... I'm tempted to close this issue, but will open a separate one about the automask. ;-P
PYPAD - ONLY AUTOMASK
PYPAD - WITH MANUAL MASKING
CHEETAH - NO MASK
CHEETAH - MASK
doesn't really matter but it makes it more convenient to view (at least for me, since I've used it as a convention with the origin in the lower left corner)