Hi Christophe
Thank you for your reply.
I am still not quite sure if I understand how exactly the filling factor is taken into account in the 3d models. For example, I have ran 2 models which are the same, except one has a filling factor of 1.0, and the other a factor of 0.5, which I call here mod_ff_10 and mod_ff_05 respectively. If I run the following code:
distance = 2.029
cube_size = 200
centre = 1
n_dim = 1
mod_ff_10 = pc.load_models('./ff_10', read_grains=True, distance=2.029)[0]
m3d_ff_10 = pc.C3D(list_of_models=mod_ff_10, dims=cube_size, center=centre, n_dim=n_dim)
mod_ff_05 = pc.load_models('./ff_05', read_grains=True, distance=2.029)[0]
m3d_ff_05 = pc.C3D(list_of_models=mod_ff_05, dims=cube_size, center=centre, n_dim=n_dim)
line = 'H__1_656281A'
image_10 = np.sum(m3d_ff_10.get_emis(line).sum(0) * m3d_ff_10.cub_coord.cell_size)
image_05 = np.sum(m3d_ff_05.get_emis(line).sum(0) * m3d_ff_05.cub_coord.cell_size)
total_10 = m3d_ff_10.get_emis_vol(line)
total_05 = m3d_ff_05.get_emis_vol(line)
print image_10
print total_10
print image_05
print total_05
these 4 values are returned:
3.1034110050122826e+34
3.103411005012283e+34
6.211905912482647e+34
3.1059529562413223e+34
If the filling factor is taken into account when using "get_emis_vol", then I would expect "total_10" and "total_05" to be different, however they are almost the same. Furthermore, I would expect the values I have called "total" and "image" to be identical, however this only appears to be true for the case where a filling factor of unity is applied.
I hope this makes sense, and sorry if I sound repetitive. I have also attached the input files I ran in case they may be helpful.
Thanks again
Alex