Issue #1306: Profile computes the standard deviation instead of variance (yt_analysis/yt)
New issue 1306: Profile computes the standard deviation instead of variance https://bitbucket.org/yt_analysis/yt/issues/1306/profile-computes-the-standa... Greg Bryan: Andrew Cunningham points out: In the following cookbook example: [http://yt-project.org/doc/cookbook/simple_plots.html#profiles-with-variance](Link URL) the variance along the profile is extracted: ``` #!python variance = prof.variance['gas', 'velocity_magnitude'].value ``` But this is actually the standard deviation. You can see how the `variance` array attached to the profile object is computed [https://bitbucket.org/yt_analysis/yt/src/09f0ef297d7068078a021fc8290d9e3519baf82d/yt/data_objects/profiles.py?at=yt&fileviewer=file-view-default#profiles.py-183](here)
participants (1)
-
Greg Bryan