-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtable_analysis.py
67 lines (53 loc) · 3.44 KB
/
table_analysis.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#! /home/renato/anaconda2/bin/ python
from __future__ import print_function, absolute_import, division
import os
import sys
import time
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
df1_iso = pd.read_csv('/home/renato/groimp_efficient/run_1/plant.txt',
delim_whitespace=True,skiprows=1,header=None,
names=["time", "tt", "plant", "strip", "row", "pos",
"species", "weed","age","nrbranches","leafArea",
"fpar","rfr","biom","yield","leafmass","stemmass",
"rootmass","shootrootratio","abovebiom",
"transpiration"])
df1_iso_beta = pd.read_csv('/home/renato/groimp_efficient/run_1c/plant.txt',
delim_whitespace=True,skiprows=1,header=None,
names=["time", "tt", "plant", "strip", "row", "pos",
"species", "weed","age","nrbranches","leafArea",
"fpar","rfr","biom","yield","leafmass","stemmass",
"rootmass","shootrootratio","abovebiom",
"transpiration"])
df1_mono_beta = pd.read_csv('/home/renato/groimp_efficient/run_1a/plant.txt',
delim_whitespace=True,skiprows=1,header=None,
names=["time", "tt", "plant", "strip", "row", "pos",
"species", "weed","age","nrbranches","leafArea",
"fpar","rfr","biom","yield","leafmass","stemmass",
"rootmass","shootrootratio","abovebiom",
"transpiration"])
df_inter = pd.read_csv('/home/renato/groimp_efficient/run_3/plant.txt',
delim_whitespace=True,skiprows=1,header=None,
names=["time", "tt", "plant", "strip", "row", "pos",
"species", "weed","age","nrbranches","leafArea",
"fpar","rfr","biom","yield","leafmass","stemmass",
"rootmass","shootrootratio","abovebiom",
"transpiration"])
df1_inter = df1.loc[df_inter['plant'] == 1,names=["time", "tt", "plant", "strip", "row", "pos",
"species", "weed","age","nrbranches","leafArea",
"fpar","rfr","biom","yield","leafmass","stemmass",
"rootmass","shootrootratio","abovebiom",
"transpiration"]].values
df2_inter = df1.loc[df_inter['plant'] == 2,names=["time", "tt", "plant", "strip", "row", "pos",
"species", "weed","age","nrbranches","leafArea",
"fpar","rfr","biom","yield","leafmass","stemmass",
"rootmass","shootrootratio","abovebiom",
"transpiration"]].values
df_inter_beta = pd.read_csv('/home/renato/groimp_efficient/run_3c/plant.txt',
delim_whitespace=True,skiprows=1,header=None,
names=["time", "tt", "plant", "strip", "row", "pos",
"species", "weed","age","nrbranches","leafArea",
"fpar","rfr","biom","yield","leafmass","stemmass",
"rootmass","shootrootratio","abovebiom",
"transpiration"])