[yt-users] Radial Velocity Projection
Matthew Turk
matthewturk at gmail.com
Tue Nov 25 07:50:16 PST 2014
Hi John,
The easiest thing to do is to probably set the field parameters on a data
container, and the supply that as a data_source to the projection.
-Matt
On Tue, Nov 25, 2014, 3:27 AM John Regan <johnanthonyregan at gmail.com> wrote:
> Hi All,
>
> I need to set the "center" field parameter for making a projection of the
> "radial_velocity".
> I see from the docs how to do that for a data container but its not clear
> what to do for a
> projection.
>
> The error I am getting at the moment when the "center" is not set is:
>
> File
> "/homeappl/home/regan/appl_taito/YT/Dev-3.0/yt/yt/data_objects/data_containers.py",
> line 249, in __getitem__
> self.get_data(f)
> File
> "/homeappl/home/regan/appl_taito/YT/Dev-3.0/yt/yt/data_objects/data_containers.py",
> line 656, in get_data
> finfo.check_available(self)
> File
> "/homeappl/home/regan/appl_taito/YT/Dev-3.0/yt/yt/fields/derived_field.py",
> line 146, in check_available
> validator(data)
> File
> "/homeappl/home/regan/appl_taito/YT/Dev-3.0/yt/yt/fields/derived_field.py",
> line 235, in __call__
> raise NeedsParameter(doesnt_have)
> yt.fields.field_exceptions.NeedsParameter: (['center'])
>
> Any tips much appreciated!
>
>
> Cheers,
> John
> _______________________________________________
> 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/20141125/423ec79c/attachment.html>
More information about the yt-users
mailing list