Materials Editor

Requires ImageJ 1.53k or higher, MuMassCalculatorLib.jar.


See the Home page for CT_Tools download and installation instructions.

Home

This plugin provides a non-modal dialog that allows the user to edit materials tag lists.

The Materials Editor UI

What's a "Tag" list?

Most of the ImageJ plugins that use the MuMassCalculator library use a list of materials saved in a file DefaultMaterials.csv in the ImageJ~/plugins/DialogData folder. It contains a header followed by a list containing a unique integer identifier or tag for each material, the material's common name, formula, and density. The list can be created or modified by any text editor or spreadsheet application that handles comma separated value (csv) files. This plugin provides the convenience of a simple editor that can be called from the ImageJ Plugins menu. The buttons have Tool Tips that explain their function.

A Tag list example csv file

Tag,Name,Formula,Density
89,Actinium,AC,10.07
101,Albite,Na:1:Al:1:Si:3:O:8,2.62
102,Alumina,Al:2:O:3,3.7
13,Aluminum,AL,2.7
103,Anatase,Ti:1:O:2,3.9
104,Ankerite,Fe:1:Ca:1:C:2:O:6,3.0
105,Anorthite,Ca:1:Si:2:Al:2:O:8,2.76
106,Anthracite,C:1,1.5

Tag list requirements

  1. DefaultMaterials.csv is the only material list recognized by the ImageJ plugins1.
  2. Must have "Tag" as the first column header.
  3. A unique integer tag for each formula.
  4. Formulas for example CaCO3, Calcium Carbonate, formatted as Ca:1:C:1:O:3.
  5. Densities in grams/cc.
  6. Do not edit the DefaultMaterials.csv file while running a dependent plugin.

Tag list features

  1. Tags are not required to be sorted in numerical order or numbered continuously.
  2. The header "Name" can be modified to indicate the lists contents or list owner etc. e.g. "Minerals" or "Alloys" or "Fred's List"

The materials list saves a lot of tedious typing of formulas and densities needed by the plugins.

1. During testing, mutiple materials lists were allowed and chaos rapidly ensued because each plugin was soon using a different materials list. Users can create their own custom DefaultMaterials.csv files and rename/replace them as needed in the DialogData folder.

Home