imagedatainfo imagedatainfo ¶ Module of the ImageDataInfo Classes¶ ImageDataInfo dataclass ¶ Bases: DataInfo, ABC Contains all information for image data Functions¶ get_filename ¶ get_filename() Split the image_location from self.image_location Returns: str – Only the image_location as a str Source code in niceml/data/datainfos/imagedatainfo.py 17 18 19 20 21 22 23 24def get_filename(self) -> str: """ Split the image_location from `self.image_location` Returns: Only the image_location as a str """ return basename(self.get_identifier()) get_image_location ¶ get_image_location() Return the image filepath Source code in niceml/data/datainfos/imagedatainfo.py 26 27 28def get_image_location(self) -> str: """Return the image filepath""" return self.image_location