ess.dream.data.simulated_vanadium_sample_incoherent#

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

Path to a GEANT4 CSV file for a vanadium sample with only incoherent scattering.

SciCat:

Sample:

  • outer radius of sample in (x,z) plane=0.006 m

  • vertical dimension of sample (along y)=0.01 m

  • packing factor=1

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:

import numpy as np
import pandas as pd

fname = dream.data.simulated_vanadium_sample_incoherent()
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