def _createModel(self, models): # preserve plot settings for i, model in enumerate(models): settings = {"cmap": model.cmap, "norm": model.norm, "interpolation": model.interpolation, "origin": model.origin} model.map.plot_settings = settings comp_model = CompositeMapModel([model.map for model in models]) return comp_model
def modifyData(self, data_model: CompositeMapModel) -> DataModel: mc = Map(data_model.getMaps(), cube=True) coaligned = mapcube_coalign_by_match_template(mc) data_model.updateMaps(coaligned.maps) return data_model
def modifyData(self, data_model: CompositeMapModel) -> DataModel: mc = Map(data_model.getMaps(), cube=True) derotated = mapcube_solar_derotate(mc) data_model.updateMaps(derotated.maps) return data_model