Apparatus and methods are described, including a method for measuring an opening of an appendage of an atrium of a subject. A catheter is inserted into the atrium, and at least one loop is deployed from a wall of the catheter, such that a distal end of the loop is distal to a distal end of the catheter. The loop is used to measure the opening of the appendage. Other applications are also described.