Author Topic: Correlation Function for Python  (Read 198 times)

MorganePh

  • Newbie
  • *
  • Posts: 1
Correlation Function for Python
« on: February 12, 2018, 12:49:51 PM »
Hi dear Ovito users,

I am using Ovito directly from Python i.e. with the scripting interface. I would like tu use the modifications "Correlation function" that is avaible from the graphical interface of Ovito. Nonetheless I would like to use this feature directly from python. Is it possible? If yes how? and if not, will it be implemented in the future?

Thank you in advance,
Best,

Morgane

Alexander Stukowski

  • Administrator
  • Sr. Member
  • *****
  • Posts: 369
Re: Correlation Function for Python
« Reply #1 on: February 12, 2018, 04:49:19 PM »
Hi Morgane,

Python bindings for the "Correlation Function" modifier have been a missing program feature in the existing program versions. You are the first one asking for it.
Let me add the Python interface to the current development version. Maybe I can provide a new program version already by tomorrow.

-Alex

Alexander Stukowski

  • Administrator
  • Sr. Member
  • *****
  • Posts: 369
Re: Correlation Function for Python
« Reply #2 on: February 12, 2018, 09:33:32 PM »
I have published a new development build (dev155) of OVITO 3.0, which provides Python-based access to the Correlation Function modifier an its results:

http://ovito.org/manual_testing/python/modules/ovito_modifiers.html#ovito.modifiers.CorrelationFunctionModifier