[yt-users] clump finder crash

Britton Smith brittonsmith at gmail.com
Wed Jun 13 08:36:08 PDT 2012


Hi Elizabeth,

You can also just do:
function='True'
Just make sure to put it in quotes like that.
Britton

On Wed, Jun 13, 2012 at 11:34 AM, Stephen Skory <s at skory.us> wrote:

> Hi Elizabeth,
>
> > Is there an easy switch for that? It's actually not a check I need for
> my data.
>
> I have done something like this in the past:
>
> fname = 'len([1])'
> master_clump = amods.level_sets.Clump(sp, None, field, function=fname)
>
> fname just needs to be something that evaluates to 1 or True. There
> are probably more elegant functions, but this is short and sweet. Let
> me know if that doesn't make sense.
>
> --
> Stephen Skory
> s at skory.us
> http://stephenskory.com/
> 510.621.3687 (google voice)
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120613/31c95cdd/attachment.html>


More information about the yt-users mailing list