<div dir="ltr"><div><div>Hi everybody,<br><br></div>I'm a bit of a yt-newb, and I was wondering what the best way to handle a problem I'm working on it.  <br><br>Basically, I have a (large) list of locations (centers of galaxies), and I want to make a profile plot using the data from all of the shells a distance r > 10kpc, r < 100 kpsc from each of these centers.  I tried using a loop with the expression <br>
</div>x = 
pf.h.boolean([x, "AND", newShell])<br>to just build the data up over many iterations before finally using create_profile after the end of the loop, but this approach ran out of memory.  Is there a better way to get the sum of a large data set?<br>
<br>Thanks in advance for any help,<br>Thomas<style type="text/css"> p, li { white-space: pre-wrap; </style></div>