GroupTheory`
GroupTheory`

GTExtractDatasets

GTExtractDatasets[]

extracts various sample data used in the documentation.

GTExtractDatasets[destination]

extracts the sample data to destination directory.

Details and Options

  • The GTPack documentation contains a high amount of examples which use external data to demonstrate the functionality of the modules.
  • These sample data is stored as an archive in the GTPack application release. GTExtractDatasets extracts the archive to the correct destination used by the documentation notebooks. Therefore it is called once during the initialisation of the package. Only the first call will extract the archive and thus reduce the initialisation time of GTPack from then on.
  • The argument destination can be given to extract the sample data to a custom directory for further research with own external data.
  • Some modules may modify the sample data in datasets (e.g. GTTbDatabaseUpdate). To restore the sample data GTExtractDatasets can be used with the option GOOverWrite -> True to delete the old folder and extract the archive again.
  • The following options can be given:
  • GOOverWrite FalseDeletes he old datasets directory and extracts the sample data again.
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica.

Examples

open allclose all

Basic Examples  (1)

First load the package:

Now you run GTExtractDatasets at least once. The following second call should take no time.

You can specify a directory for the extraction.

Options  (1)

GOOverWrite  (1)

If you want to reset the sample data, set

  • GOOverWrite
  • to True.

    You can specify a directory for the extraction.