GTExtractDatasets
  • See Also
    • GTReadFromFile
    • GTWriteToFile
  • Related Guides
    • Auxiliary
    • See Also
      • GTReadFromFile
      • GTWriteToFile
    • Related Guides
      • Auxiliary

GTExtractDatasets[]

extracts various sample data used in the documentation.

GTExtractDatasets[destination]

extracts the sample data to destination directory.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Options  
GOOverWrite  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTReadFromFile
    • GTWriteToFile
  • Related Guides
    • Auxiliary
    • See Also
      • GTReadFromFile
      • GTWriteToFile
    • Related Guides
      • Auxiliary
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 all close all

Basic Examples  (1)

First load the package:

Wolfram Language code: Needs["GroupTheory`"]

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

Wolfram Language code: GTExtractDatasets[]

You can specify a directory for the extraction.

Wolfram Language code: GTExtractDatasets[$TemporaryDirectory <> "/datasets"]

Options  (1)

GOOverWrite  (1)

If you want to reset the sample data, set

  • GOOverWrite
  • to True.

    Wolfram Language code: GTExtractDatasets[GOOverWrite -> True]

    You can specify a directory for the extraction.

    Wolfram Language code: GTExtractDatasets[$TemporaryDirectory <> "/datasets", GOOverWrite -> True]

    See Also

    GTReadFromFile  GTWriteToFile

    Related Guides

      ▪
    • Auxiliary
    Not Found - Wolfram Cloud