ess.dream.data.simulated_vanadium_sample#
- ess.dream.data.simulated_vanadium_sample(*, small=False)[source]#
Path to a GEANT4 CSV file for a vanadium sample.
SciCat:
PID:
20.500.12269/9e43a311-dc17-4f0e-a4d4-2341186b5512
URL: https://staging.scicat.ess.eu/datasets/20.500.12269%2F9e43a311-dc17-4f0e-a4d4-2341186b5512
Contains both coherent and incoherent scattering.
Sample:
radius=0.006 m
yheight=0.01 m
- material
reflections of powder from “V.laz” (McStas file) incoherent process with sigma=4.935 barns, packing factor=1, unit cell volume=27.66 angstrom^3 absorption of 36.73 1/m
- Parameters:
small (
bool
, default:False
) –If True, return a smaller version of the data file, with randomly selected rows. The small version of the file was created using the following code:
```python import numpy as np import pandas as pd
fname = dream.data.simulated_vanadium_sample() df = pd.read_csv(fname, sep=’ ‘) inds = np.sort(np.random.choice(len(df), 10_000, replace=False)) df.iloc[inds].to_csv(’TEST_’ + fname.split(‘/’)[-1], sep=’ ‘, index=False) ```
- Return type: