def _build_obs(self, **kwargs):
logging.debug('<STR_LIT>')<EOL>tree = ObservationTree()<EOL>for k,v in kwargs.items():<EOL><INDENT>if k in self.ic.bands:<EOL><INDENT>if np.size(v) != <NUM_LIT:2>:<EOL><INDENT>logging.warning('<STR_LIT>'.format(k,v))<EOL>v = [v, np.nan]<EOL><DEDENT>o = Observation('<STR_LIT>', k, <NUM_LIT>) <EOL>s = Source(v[<NUM_LIT:0>], v[<NUM_LIT:1>])<EOL>o.add_source(s)<EOL>logging.debug('<STR_LIT>'.format(s,o))<EOL>tree.add_observation(o)<EOL><DEDENT><DEDENT>self.obs = tree<EOL>
Builds ObservationTree out of keyword arguments

Ignores anything that is not a photometric bandpass.
This should not be used if there are multiple stars observed.

Creates self.obs