<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi guys,<div><br></div><div>I am trying to calculate the (X-ray) luminosity within a sphere of radius r:</div><div>Lx = sum emissivity *dvol  (within r)</div><div><br></div><div>Suppose I have defined a new derived field XRayEmissivity, dependent on data['Density'] and data['Temperature'].</div><div><br></div><div>How would you carry out that?</div><div><br></div><div><br></div><div>I am trying to use BinnedProfile1D. However, it seems that the derived fields are computed only *after* binning, e.g.</div><div>XRayEmissivity = <Density>**2 * <Temperature>^0.5</div><div><br></div><div>I don't want to use the averaged quantities (in each shell). I would like to compute the emissivity point by point, for each leaf block</div><div>(very important for the luminosity).</div><div><br></div><div>Is it possible?</div><div><br></div><div>Thanks, as always!</div><div><br></div><div><br></div><div>  Max</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div>                                    </div></body>
</html>