10mo
Python SDK requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY
.
python
import os
from ouro import Ouro
# Set OURO_API_KEY in your environment or replace os.environ.get("OURO_API_KEY")
ouro = Ouro(api_key=os.environ.get("OURO_API_KEY"))
file_id = "c838b0e9-2c7a-46e9-bdea-fda70bb97d71"
# Retrieve file metadata and signed URL
f = ouro.files.retrieve(file_id)
print(f.name, f.visibility)
data = f.read_data() # fetches signed URL
print(data.url)
Example dynamic structure factor
Dynamic structure factor S(q,w) and dispersion curve inset for the Heisenberg ferromagnet on the simple cubic lattice with L20 at T 0.4 T c. The momentum transfer is in the 100 direction, that is, q (q,0,0), and the Brillouin zone boundary is at q.
The Dynamic Structure Factor (S(Q,ω)) is like a movie of how atoms move in a material. Instead of just knowing where atoms are, it tells us how they move together over time:
10mo
1 reference
Loading compatible actions...
Loading comments...