Skip to content

Instantly share code, notes, and snippets.

@Xteslatec
Xteslatec / run_gsasII_refinement.py
Created October 13, 2025 04:47 — forked from SilCil/run_gsasII_refinement.py
run_gsasII_refinement_using_python
import os
from pathlib import Path
import matplotlib.pyplot as plt
import sys
# needed to find GSASII package
sys.path.insert(0, r"C:\Users\****\gsas2full\GSAS-II\GSASII")
import GSASIIscriptable as G2sc
gpx_project_path = Path("project.gpx")
new_powder_csv = Path("plus1000data.csv")