Closed andrewheusser closed 7 years ago
When creating an egg, we could have these optional fields to make the syntax simpler for later functions. For example:
egg = quail.Egg(pres=pres, rec=rec, listgroup=['early']*8+['late']*8, subjgroup=['exp1']*10+['exp2']*8) analyzed_data = quail.analyze(egg, analysis='spc')
the averaging would be inferred from the egg, unless listgroup/subjgroup are passed to the analysis function - in which case the egg groupings would be overwritten. This would allow users to save eggs with the conditions included.
Looks good to me...
done on groupvars-on-egg branch. will push after CEMS (don't want to break code during crunch time)
When creating an egg, we could have these optional fields to make the syntax simpler for later functions. For example:
the averaging would be inferred from the egg, unless listgroup/subjgroup are passed to the analysis function - in which case the egg groupings would be overwritten. This would allow users to save eggs with the conditions included.