Skip to content

Commit

Permalink
Merge pull request #187 from smash-transport/roch/documentation_LYZ_flow
Browse files Browse the repository at this point in the history
Documentation LYZ flow
  • Loading branch information
Hendrik1704 authored Feb 14, 2024
2 parents 5e685bf + 1c64569 commit 3014acc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/sparkx/flow/LeeYangZeroFlow.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@

class LeeYangZeroFlow(FlowInterface.FlowInterface):
"""
**Attention**: This is a beta version of the LeeYangZeroFlow analysis class
for testing purposes. We do not recommend using this class for production
runs yet.
Compute integrated and differential anisotropic flow using the Lee-Yang
zero method from
Expand Down Expand Up @@ -517,6 +513,13 @@ def differential_flow(self,particle_data,bins,flow_as_function_of):
- vn_inf_error (float): Error on the differential flow magnitude for the bin.
If a bin has no events, the corresponding element in the result list is set to None.
Notes
-----
This method will call the `integrated_flow` method if it was not called
before and computes the integrated flow for the given `particle_data`.
Make sure that the same `particle_data` is used. Otherwise this could
lead to wrong results.
"""
if not isinstance(bins, (list,np.ndarray)):
raise TypeError('bins has to be list or np.ndarray')
Expand Down

0 comments on commit 3014acc

Please sign in to comment.