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

Problem identified using echap plot modules #7

Open
mlabadie opened this issue Jun 22, 2021 · 0 comments
Open

Problem identified using echap plot modules #7

mlabadie opened this issue Jun 22, 2021 · 0 comments
Assignees

Comments

@mlabadie
Copy link
Collaborator

mlabadie commented Jun 22, 2021

Plot_evaluation_dye_interception

  • function concerned plot petri_observe_simule(), hs_observe_simule(), petri_observe_simule()

Error description: Error frac
the problem comes from evaluation_dye_interception.py the function agregate_by_axe in which you do:
[l.148] ilig = numpy.max(numpy.where(frac >= 1)) or frac calculate [l.147] of the same function is never greater than 1 actually. which blocks the rest of the function

ipdb> frac
7990 0.362863
7991 0.362863
7992 0.362863
7993 0.362863
7994 0.362863

  • plot sil_observe_simule()

Error description: Error pandas data.loc[:, ['treatment', by] + what] not the way to write

c:\users\mlabadie\documents\github\openalea-incubator\echap\src\alinea\echap\evaluation_dye_interception.py(207)leaf_statistics()
205 if not isinstance(what, list):
206 what = [what]
--> 207 sub = data.loc[:, ['treatment', by] + what]
208 agg = sub.groupby(['treatment', by]).mean().reset_index()
209 errag = sub.groupby(['treatment', by]).agg(err).reset_index()

plot_architectural_reconstructions

no tested because need argument (dimension_data, obs_data,fits, HS_converter, density_data, density_fits, leaf_fits, scan, scan_old, obs_GL, fit_GL, ax, data)

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

No branches or pull requests

2 participants