ess.dream.data.simulated_empty_can#

ess.dream.data.simulated_empty_can(*, small=False)[source]#

Path to a GEANT4 CSV file for an empty can measurement.

SciCat:

Container:

  • radius=0.006 m

  • yheight=0.05 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_empty_can() 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:

str