![]() |
Mathematica不能识别一个计算矿物化学式的软件?
1 个附件
各位好!我下载了一个关于矿物化学成分软件是基于Mathematica软件的,之前我有一点学习VB语言的基础,在用软件的过程中,可能是一个调用“B88”总是显示红色,不知是不是这个Mathematica软件不识别我下载的这个矿物化学成分计算软件:
(* This notebook contains examples for the PET-functions -CalcFormula- calculate mineral formulae (and mole fractions) -TransformDatFile- transform microprobe data-files (JEOL_JX \ 8600) to PET-readable format -MakeAnalysisTable- make a usual table of mineralchemical \ analyses (wt.% and formula units) *) (* This top-cell must be run once before any example can be \ performed. *) (* Define the directory, where the PET-files reside (e.g. C:\Eigene \ Dateien\Pet) and load PET. *) $PetDirectory = "C:\Eigene Dateien\Pet"; SetDirectory[$PetDirectory]; DeclarePackage["DEFDAT`", {"Dataset"}]; Dataset[Dataset -> [COLOR="Red"]B88[/COLOR]]; 另一个相关的“DEFDAT”: (* Name: DEFDAT` package of PET: Petrological Elementary Tools Computers & Geoscience 24:219-235 *) (* Summary: this package declares various PET-functions *) (* Author: Edgar Dachs, Department of Mineralogy University of Salzburg, Austria email: [email][email protected][/email] last update: 11-2002 *) BeginPackage["DEFDAT`"] Dataset::usage = "Dataset[Dataset-> ...] selects the thermodynamic dataset to be used.\n\n The following data sets are available, loaded with:\n\n Berman (1988) J Petrol 29:445-522 Dataset[Dataset -> B88]\n Holland & Powell (1998) J metam Geol 16:309-343 Dataset[Dataset -> HP31], or\n Dataset[Dataset -> HP32]\n Gottschalk (1997) Eur J Mineral 9:175-223 Dataset[Dataset -> G97]\n\n See G::usage for more details.\n \"31\" or \"32\" following \"HP\" indicates that the thermodynamic data have been\n converted from THERMOCALC-versions 3.1 or 3.2 of Holland & Powell respectively.\n When you start PET, a subdirectory \"/work\" is created by default, from which all user-files\n (e.g. mineralchemical data files) are read and all files produced by PET are written to.\n To create a new subdirectory for that purpose, you can use the option:\n WorkDirectory -> \"/directory_name\"\n Example: Dataset[Dataset -> [B]B88[/B], WorkDirectory -> \"sample_xy\"]\n This loads PET with the Berman data set and reads/writes all user files from/to the\n subdirectory named \"sample_xy\".\n Called from: User.\n Package name: DEFDAT.m\n PET: Petrological Elementary Tools, (c) Edgar Dachs." 我想请问各位高手是不是Mathematica不能识别这个调用?要怎样解决呢,不知道描述的是否清楚。。 |
所有时间均为北京时间。现在的时间是 12:44。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.