
Hi-- Is there a way to get a profile to accumulate from [bin: high bin], instead of [low bin: bin]? I poked through the source and I only see "accumulation = True, False", but not "\pm 1, 0". Thanks, d. -- Sent from my computer.

Hi Dave, Nope, there isn't just now. You can do this as a post-processing step. Perform the profile with no accumulation and then use na.add.accumulate(array[::-1])[::-1] to get it back. i.e., prof["CellMassMsun"] = na.add.accum... -Matt On Fri, Jan 13, 2012 at 1:59 PM, david collins <antpuncher@gmail.com> wrote:
Hi--
Is there a way to get a profile to accumulate from [bin: high bin], instead of [low bin: bin]? I poked through the source and I only see "accumulation = True, False", but not "\pm 1, 0".
Thanks, d.
-- Sent from my computer. _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

Cool. That add.accumulate seems easy enough. Thanks a ton! d. On Fri, Jan 13, 2012 at 12:05 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Dave,
Nope, there isn't just now. You can do this as a post-processing step. Perform the profile with no accumulation and then use na.add.accumulate(array[::-1])[::-1] to get it back. i.e., prof["CellMassMsun"] = na.add.accum...
-Matt
On Fri, Jan 13, 2012 at 1:59 PM, david collins <antpuncher@gmail.com> wrote:
Hi--
Is there a way to get a profile to accumulate from [bin: high bin], instead of [low bin: bin]? I poked through the source and I only see "accumulation = True, False", but not "\pm 1, 0".
Thanks, d.
-- Sent from my computer. _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-- Sent from my computer.
participants (2)
-
david collins
-
Matthew Turk