torchio/data/subject.py
def spatial_shape(self):
        """Return spatial shape of first image in subject.

        Consistency of spatial shapes across images in the subject is checked
        first.
        """
        self.check_consistent_spatial_shape()
        return self.get_first_image().spatial_shape
Return spatial shape of first image in subject.

        Consistency of spatial shapes across images in the subject is checked
        first.
        
Return spatial shape of first image in subject.
Consistency of spatial shapes across images in the subject is checked
first.
Return spatial shape of first image in subject . Consistency of spatial shapes across images in the subject is checked first .
def spatial_shape(self):
        self.check_consistent_spatial_shape()
        return self.get_first_image().spatial_shape
def spatial_shape ( self ) : self . check_consistent_spatial_shape ( ) return self . get_first_image ( ) . spatial_shape
Return spatial shape of first image in subject.
Return spatial shape of first image in subject .
"""Return spatial shape of first image in subject.

        Consistency of spatial shapes across images in the subject is checked
        first.
        """
self