Skip to content

Datacube

hist_in_mask ¤

Plot elemental map and histogram associated only for a specific element in a mineralcube.

Parameters:

Name Type Description Default
data_cube DataCube

DataCube to plot.

required
mineral_cube MineralCube

MineralCube to check if element in mineral.

required
element str

Name of the wanted element (eg: 'Fe').

required
mineral str

Name of the wanted mask (eg: 'Galene').

required
Note

Does not work if datacube is HyperCube (yet).

hist ¤

Plot elemental map and histogram of a specific element.

Parameters:

Name Type Description Default
datacube DataCube

Marcia DataCube Object.

required
indice str

Element to plot.

required

datacube_hist ¤

Plot the elemental map on the left side an the corresponding hitogram of intensity on the right side Input is the index of the element in the 3D array Useful function in order to set the threshold in the spreadsheet.

Parameters:

Name Type Description Default
datacube DataCube

Marcia DataCube Object.

required
indice str

Element to plot.

required

mineralcube_hist ¤

Plot the elemental map on the left side an the corresponding hitogram of probability to be in the mineral on the right side. Input is the index of the element in the 3D array Useful function in order to set the threshold in the spreadsheet.

Parameters:

Name Type Description Default
mineral_cube MineralCube

Marcia DataCube Object.

required
indice str

Element to plot.

required

plot ¤

Plot the mineral mask wanted Input is the index of the mineral in the 3D array (cube).

Parameters:

Name Type Description Default
datacube DataCube

Marcia DataCube Object.

required
indice str

Element to plot.

required

biplot ¤

Plot one element against another one in a scatter plot Input is the indexes of each of the two element in the 3D array Useful function in order to see elemental ratios and some elemental thresholds.

Parameters:

Name Type Description Default
datacube DataCube

Marcia DataCube Object.

required
indicex str

Element to plot on x-axis.

required
indicey str

Element to plot on y-axis.

required

triplot ¤

Plot one element against another one in a scatter plot Input is the indexes of each of the two element in the 3D array Useful function in order to see elemental ratios and some elemental thresholds.

Parameters:

Name Type Description Default
datacube DataCube

Marcia DataCube Object.

required
indicex str

Element to plot on x-axis.

required
indicey str

Element to plot on y-axis.

required
indicez str

Element to color data with.

required

plot_minerals ¤

For mineralogy purposes, valid only if all masks are minerals Plot all the mask onto one picture in order to visualize the classification. Each pixel correspond to only one mineral at the time, if not, it is classified as "mixed".

Parameters:

Name Type Description Default
datacube MineralCube

Marcia MineralCube Object.

required