Datasets:
Formats:
csv
Languages:
English
Size:
1K - 10K
Tags:
open-science
superconductivity
superconductor-discovery
strongly-correlated
materials-discovery
2d-materials
License:
instrument: print quality level
Browse files
instrument/osc_instrument.py
CHANGED
|
@@ -101,9 +101,17 @@ def main():
|
|
| 101 |
ut = 8.0
|
| 102 |
|
| 103 |
score = estimate_pairing(nef, A_d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
sub = dict(material_id=mid or f"custom(nef={nef},A_d={A_d})", t=t, U=U, nef=nef,
|
| 105 |
U_over_t=round(ut, 4), A_dwave=A_d, solver_delta=delta,
|
| 106 |
-
provisional_score=score,
|
|
|
|
|
|
|
| 107 |
json.dump(sub, open(a.out, "w"), indent=1)
|
| 108 |
print(json.dumps(sub, indent=1))
|
| 109 |
print(f"\n[OK] wrote {a.out}. Sign in on the OSC Space and submit this score on the material's card, "
|
|
|
|
| 101 |
ut = 8.0
|
| 102 |
|
| 103 |
score = estimate_pairing(nef, A_d)
|
| 104 |
+
if A_d is not None and float(A_d) <= 0:
|
| 105 |
+
level = "off-dome — no d-wave at this filling"
|
| 106 |
+
elif score >= 15: level = "STRONG d-wave candidate"
|
| 107 |
+
elif score >= 8: level = "MODERATE"
|
| 108 |
+
elif score >= 2: level = "WEAK"
|
| 109 |
+
else: level = "negligible"
|
| 110 |
sub = dict(material_id=mid or f"custom(nef={nef},A_d={A_d})", t=t, U=U, nef=nef,
|
| 111 |
U_over_t=round(ut, 4), A_dwave=A_d, solver_delta=delta,
|
| 112 |
+
provisional_score=score, level=level, method_name=a.method_name,
|
| 113 |
+
author=a.author, track="light")
|
| 114 |
+
print(f"[level] {level} (score {score} on a ~0-22 scale; strong ≳15, off-dome = 0)")
|
| 115 |
json.dump(sub, open(a.out, "w"), indent=1)
|
| 116 |
print(json.dumps(sub, indent=1))
|
| 117 |
print(f"\n[OK] wrote {a.out}. Sign in on the OSC Space and submit this score on the material's card, "
|