ndiffusion.peaking_factors

ndiffusion.peaking_factors(density, volumes, regions=None)[source]

Peak-to-average ratio of a power density.

The average is taken over the cells that produce power, so a reflector does not dilute it. With regions, each region’s density is first averaged over its volume and the ratio is between regions - an assembly or pin peaking factor rather than a local one.

Return type:

float