[chimerax-users] Python API: locate_maximum logic