Message: Changing Density for a Material Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Changing Density for a Material 

Keywords: voxel number, human model
Forum: Medical Applications
Re: Question how many voxels can geant4 includes? (John)
Re: None Re: how many voxels can geant4 includes? (Joseph Perl)
Re: None Re: how many voxels can geant4 includes? (John)
Re: None Re: how many voxels can geant4 includes? (Makoto Asai)
Re: None Re: how many voxels can geant4 includes? (Andrew Prideaux)
Date: 04 May, 2007
From: Joseph Perl <Joseph Perl>

It is not possible to change the density on-the-fly for a given material in Geant4.

Typically, what one does for DICOM data is to map density to a limited number of materials. For each material, various cross sections are computed on-the-fly at startup (density cannot be changed after that).

A reasonable number of materials would be something from a few tens to a hundred or so.

Once you have a set of materials, it is no problem to assign a different one of these materials to each voxel in a nested parameterization. This part is done in the "ComputeMaterial" method of the NestedParameterisation class. An example of this is in examples/extended/runAndEvent/RE02

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Changing Density for a Material"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]