Open nkasmanoff opened 8 months ago
Would we be able to follow the same format as the helio_tools package? Try to make all "editors" functional or a data class? For example:
helio_tools
Functional
s_map: Map = transfrom(s_map, *args, **kwargs)
Dataclass
@dataclasses.dataclass class Function: param: int = ... param2: float = ... def __call__(self, s_map: Map) -> Map: data: np.ndarray = s_map.data # do something ... data: np.ndarray = .... return Map(data, s_map.fits_header)
Would we be able to follow the same format as the
helio_tools
package? Try to make all "editors" functional or a data class? For example:Functional
Dataclass