def included_length ( self ) : return sum ( [ shot . length for shot in self . shots if shot . is_included ] )
measure object dimension in python
Surveyed length not including excluded shots
def included_length(self):
        """Surveyed length, not including "excluded" shots"""
        return sum([shot.length for shot in self.shots if shot.is_included])