Commit 064a841b authored by inhuszar's avatar inhuszar
Browse files

Normalisation now changes data type.

parent 98ec0de1
...@@ -2164,7 +2164,7 @@ class TImage(TField): ...@@ -2164,7 +2164,7 @@ class TImage(TField):
""" """
# TODO: This is not compatible with HDD arrays. # TODO: This is not compatible with HDD arrays.
self._data.data = self._data.data / self._data.data.max() self._data.data = self._data.data / self._data.data.max()
self.dtype = self._data.data.dtype # self.dtype = self._data.data.dtype
def set_resolution(self, *resolution, unit="au"): def set_resolution(self, *resolution, unit="au"):
""" """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment