[yt-users] Radial Velocity Projection

John Regan johnanthonyregan at gmail.com
Tue Nov 25 00:33:37 PST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141125/1367b305/attachment.htm>


More information about the yt-users mailing list