Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projection of other observation #145

Merged
merged 5 commits into from
Apr 25, 2024
Merged

Projection of other observation #145

merged 5 commits into from
Apr 25, 2024

Conversation

jiangyi15
Copy link
Owner

@jiangyi15 jiangyi15 commented Apr 24, 2024

Support projection of other observation.

plot:
    index:
          a/b/c: {}  # for  data["a"]["b"]["c"] 
    extra_vars:
          data:
               expr:  m_R_BC + m_R_BD
               where:
                      m_R_BC: ["mass", "R_BC"]

@jiangyi15
Copy link
Owner Author

support additional observation from function

idx = config.get_data_index("mass", "R_BC")
def f(x):
    return data_index(x, idx)

config.plot_partial_wave(extra_plots=[{"name": "function", "readdata": f}])

@jiangyi15 jiangyi15 merged commit f3793eb into dev Apr 25, 2024
10 checks passed
@jiangyi15 jiangyi15 deleted the plot_improve branch April 25, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant