def setup(self, image):
"""
This function ...
:param image:
:return:
"""
# Call the setup function of the base class
super(UnitConverter, self).setup()
# Create a unit object
self.target_unit = u.Unit(self.config.to_unit)
# Set the image reference
self.image = image
# -----------------------------------------------------------------
评论列表
文章目录