are_equal#
- madcubapy.visualization.are_equal(fitsmap_1, fitsmap_2, show_maps=False)[source]#
Compare two maps to check if they are equal.
- Parameters:
- fitsmap_1
MadcubaMaporCCDData Map object to compare.
- fitsmap_2
MadcubaMaporCCDData Map object to compare.
- show_maps
bool, default: False If true both maps are plotted alongside the residuals of their substraction.
- fitsmap_1
- Returns:
boolReturns True if the two maps are the same map.