Skip to content

Instantly share code, notes, and snippets.

View bocklund's full-sized avatar
💭
Reaching equilibrium

Brandon Bocklund bocklund

💭
Reaching equilibrium
View GitHub Profile
@bocklund
bocklund / illiad.js
Last active August 21, 2017 14:25
Fill a form on the ILLiad article submission page based on a user-prompted Bibtex reference
/* Submit requests to ILLiad by populating different fields from a bibtex reference*/
/* We want to do some parsing of input bibtex, files, so we'll include the*/
/* following JS code in our bookmarklet*/
/* keys are the ILLiad field names, values are the bibtex entry keys*/
var replacementDict = {
'PhotoJournalTitle' : 'JOURNAL',
'PhotoJournalTitle' : 'JOURNAL',
'PhotoJournalVolume' : 'VOLUME',
'PhotoJournalIssue' : 'NUMBER',
@bocklund
bocklund / espei-example.yaml
Last active August 31, 2017 14:59
Example espei input file
Header area.
Include any metadata above the `---`.
---
# core run settings
run_type: full # choose full | dft | mcmc
phase_models: input.json
datasets: input-datasets # path to datasets. Defaults to current directory.
scheduler: dask # can be dask | MPIPool
# control output
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bocklund
bocklund / srs.ipynb
Last active March 4, 2019 23:33
Shifting reference states, pycalphad#55
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bocklund
bocklund / export-xarray.ipynb
Last active December 16, 2020 22:35
Example showing how to export pycalphad xarray calculations to CSV
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bocklund
bocklund / regular-solutions.ipynb
Last active March 14, 2021 20:49
Regular solutions following A.D. Pelton and W.T. Thompson (1975)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bocklund
bocklund / COST507-modified.tdb
Last active April 23, 2024 02:45
COST507 TDB with several mistakes fixed
$
$
$ VERSION : ROUND II (January 1999)
$
$ FROZEN VERSION
$ COST - 507
$
$ THERMODYNAMIC DATABASE FOR LIGHT METAL ALLOYS
$
$