<commit_before>"""
==================================================
Base Difference and Running Difference in Mapcubes
==================================================

This example illustrates how to do base and running differencing with a MapCube.
Base differencing uses a fixed reference point when compared to running difference.
"""

import matplotlib.pyplot as plt
import matplotlib.colors as colors
import matplotlib.cm as cm

import sunpy.map
import sunpy.physics.differential_rotation as diffrot
from sunpy.data.sample import AIA_193_CUTOUT01_IMAGE, AIA_193_CUTOUT02_IMAGE, AIA_193_CUTOUT03_IMAGE

###############################################################################
# We create the MapCube using the AIA_193_CUTOUT sample data.
# To create a MapCube, we can call Map directly but add in a keyword to output a MapCube instead.
aiamapcube = sunpy.map.Map(AIA_193_CUTOUT01_IMAGE, AIA_193_CUTOUT02_IMAGE,
                           AIA_193_CUTOUT03_IMAGE, cube=True)

############################################################################
# In case of running difference, we loop through all the maps in the<commit_msg>Changed the title [skip ci]<commit_after>"""
=======================================
Base and Running Difference in Mapcubes
=======================================

This example illustrates how to do base and running differencing with a MapCube.
Base differencing uses a fixed reference point when compared to running difference.
"""

import matplotlib.pyplot as plt
import matplotlib.colors as colors
import matplotlib.cm as cm

import sunpy.map
import sunpy.physics.differential_rotation as diffrot
from sunpy.data.sample import AIA_193_CUTOUT01_IMAGE, AIA_193_CUTOUT02_IMAGE, AIA_193_CUTOUT03_IMAGE

###############################################################################
# We create the MapCube using the AIA_193_CUTOUT sample data.
# To create a MapCube, we can call Map directly but add in a keyword to output a MapCube instead.
aiamapcube = sunpy.map.Map(AIA_193_CUTOUT01_IMAGE, AIA_193_CUTOUT02_IMAGE,
                           AIA_193_CUTOUT03_IMAGE, cube=True)

############################################################################
# In case of running difference, we loop through all the maps in the
{'fraction_non_alphanumeric': 0.24813022437307522, 'fraction_numerical': 0.029036515618125824, 'mean_word_length': 6.150943396226415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4547881', 'n_tokens_mistral': 652, 'n_tokens_neox': 593, 'n_words': 208}