[yt-users] yt help deriving new fields

tazkera haque h.tazkera at gmail.com
Mon Feb 8 12:08:15 PST 2016


Hi, I need a little help in defining a new derived field. my goal is to
find if a stellar system eject some mass or not.

I am attaching the derived_field_list from the file I have. I am trying to
define the total energy of the system E=0.5*m*v**2+gravitational potential
energy*m

I am completely new to python and trying to get hold of the language
through yt. I am attaching my efforts and the errors. please help me fix
that.

Thanks in advance.

Tazkera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160208/de04b83c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: derived_field_list
Type: application/octet-stream
Size: 3652 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160208/de04b83c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yt_error
Type: application/octet-stream
Size: 845 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160208/de04b83c/attachment-0001.obj>


More information about the yt-users mailing list