def info(self, graintype=True, group=True, reference=False,<EOL>phase=True):
<EOL>gtype_info = []<EOL>group_info = []<EOL>ref_info = []<EOL>phase_info = []<EOL>print('<STR_LIT>' + str(len(self.data)) + '<STR_LIT>')<EOL>if graintype:<EOL><INDENT>for i in range(len(self.desc)):<EOL><INDENT>gtype_tmp = self.desc[i][self.descdict['<STR_LIT>']]<EOL>wrtchk = True<EOL>for j in range(len(gtype_info)):<EOL><INDENT>if gtype_info[j] == gtype_tmp:<EOL><INDENT>wrtchk = False<EOL>break<EOL><DEDENT><DEDENT>if wrtchk:<EOL><INDENT>gtype_info.append(gtype_tmp)<EOL><DEDENT><DEDENT>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>print(gtype_info)<EOL><DEDENT>if group:<EOL><INDENT>for i in range(len(self.desc)):<EOL><INDENT>group_tmp = self.desc[i][self.descdict['<STR_LIT>']]<EOL>wrtchk = True<EOL>for j in range(len(group_info)):<EOL><INDENT>if group_info[j] == group_tmp:<EOL><INDENT>wrtchk = False<EOL>break<EOL><DEDENT><DEDENT>if wrtchk:<EOL><INDENT>group_info.append(group_tmp)<EOL><DEDENT><DEDENT>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>print(group_info)<EOL><DEDENT>if phase:<EOL><INDENT>for i in range(len(self.desc)):<EOL><INDENT>phase_tmp = self.desc[i][self.descdict['<STR_LIT>']]<EOL>wrtchk = True<EOL>for j in range(len(phase_info)):<EOL><INDENT>if phase_info[j] == phase_tmp:<EOL><INDENT>wrtchk = False<EOL>break<EOL><DEDENT><DEDENT>if wrtchk:<EOL><INDENT>phase_info.append(phase_tmp)<EOL><DEDENT><DEDENT>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>print(phase_info)<EOL><DEDENT>if reference:<EOL><INDENT>for i in range(len(self.desc)):<EOL><INDENT>ref_tmp = self.desc[i][self.descdict['<STR_LIT>']]<EOL>wrtchk = True<EOL>for j in range(len(ref_info)):<EOL><INDENT>if ref_info[j] == ref_tmp:<EOL><INDENT>wrtchk = False<EOL>break<EOL><DEDENT><DEDENT>if wrtchk:<EOL><INDENT>ref_info.append(ref_tmp)<EOL><DEDENT><DEDENT>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>print(ref_info)<EOL><DEDENT>
This routine gives you informations what kind of grains are
currently available in your filtered version.  It gives you
the type of grains available.  More to be implemented upon need.

Parameters
----------
graintype, group, references, phase : boolean
    What do you wanna print for information.  There can be a
    lot of references, hence references default is False.