pypsbuilder.tcapi.TC34API
- class pypsbuilder.tcapi.TC34API(workdir, tcexe, drexe, encoding='mac-roman')
Bases:
TCAPI
- __init__(workdir, tcexe, drexe, encoding='mac-roman')
Methods
__init__
(workdir, tcexe, drexe[, encoding])calc_assemblage
(phases, p, t)Method to run THERMOCALC to calculate compositions of stable assemblage.
calc_p
(phases, out, **kwargs)Method to run THERMOCALC to find univariant line using Calc P at T strategy.
calc_pt
(phases, out, **kwargs)Method to run THERMOCALC to find invariant point.
calc_px
(phases, out, **kwargs)Method to run THERMOCALC for P-X pseudosection calculations.
calc_t
(phases, out, **kwargs)Method to run THERMOCALC to find univariant line using Calc T at P strategy.
calc_tx
(phases, out, **kwargs)Method to run THERMOCALC for T-X pseudosection calculations.
calc_variance
(phases)Get variance of assemblage.
dogmin
(phases, p, t, variance[, doglevel, ...])Run THERMOCALC dogmin session.
interpolate_bulk
(x)Dogmin parser.
parse_kwargs
(**kwargs)parse_logfile
(**kwargs)Parser for THERMOCALC 3.4x output.
read_prefsfile
()read_scriptfile
()rundr
()Method to run drawpd.
runtc
([instr])Low-level method to actually run THERMOCALC.
update_scriptfile
(**kwargs)Method to update scriptfile.
Attributes
Path to used a-x file.
Path to csv file.
Version identification of thermodynamic dataset in use.
Path to dataset file.
Path to drawpd file.
Path to -dr output file.
Path to ic file.
Path to it file.
Path to THERMOCALC log file.
Path to project output file.
Path to THERMOCALC prefs file.
Path to scriptfile.
False for THERMOCALC older than 3.5.
THERMOCALC version string