tjlane / pypad

Intuitive, high-level interface to the CSPAD
Other
2 stars 1 forks source link

Constrain optimization so it cannot overlap two ASICs #18

Closed sellberg closed 11 years ago

sellberg commented 11 years ago

This could be useful since the distance between the quads is quite small in the initial configuration and we don't want the optimization to go into a virtual minimum where the ASICs are overlapping

tjlane commented 11 years ago

@sellberg I think this is resolved, but it could use some testing

sellberg commented 11 years ago

@tjlane seems to be working, judging by the screen shots below:

screen shot 2013-06-01 at 23 51 08

screen shot 2013-06-02 at 1 07 32

We still have to wait and see if it can get 'stuck' in a state where it always tries to perform a step where the ASICs overlap, and therefore it is always rejected, but so far it seems to find its way out of dead ends. Closing this issue for now.