gkaguirrelab / rgcDisplacementMap

tools to model retinal ganglion cell displacement from receptive field locations in the human retina
1 stars 0 forks source link

Matching defaults between developModel and transform #6

Closed gkaguirre closed 7 years ago

gkaguirre commented 7 years ago

The code makes use of two routines that "develop" the mRGC and mRF linking functions. There are default values in these routines. These default values are used again in the "transform" functions. It can occur, however, that the default values set in the develop and transform functions are different, causing model errors. Need to devise a way to force these to match.

DavidBrainard commented 7 years ago

We hit this problem often in the isetbio code base and have not yet developed a general solution. I am working on approaches, would be interesting to compare notes.

gkaguirre commented 7 years ago

Ended up surfacing these parameters to a lower level function that calls both the develop and transform functions.