ISET / isetcam

Open source version of the original ISET, a complement to ISETBIO
MIT License
133 stars 51 forks source link

sensorGainAndOffset(localScene,oi,sensor) no longer a function #25

Open coleharlow12 opened 2 years ago

coleharlow12 commented 2 years ago

Hello,

I am trying to use this repository with the fitoolbox repository. I want to create my own simulations to use in the reflectance/fluorescence estimation algorithm. To do this I am trying to run the scripts in fitoolbox/scripts/simulations. At some point all of these scripts reference the iset function sensorGainAndOffset(localScene,oi,sensor) which no longer appears to be in iset. Is sensorGet(sensor,'analog Gain') and sensorGet(sensor,'analog Offset') an appropriate replacement for this function?

Thank You

wandell commented 2 years ago

The first function (sensorGainAndOffset) doesn’t seem familiar to me.

It does seem (only from the names) that the replacements you suggest are right. But I notice that ‘localScene’ is an argument in the first one.

I am copying Henryk, who may have a better answer than I do.

Brian

From: coleharlow12 @.> Date: Thursday, May 5, 2022 at 12:45 PM To: ISET/isetcam @.> Cc: Subscribed @.***> Subject: [ISET/isetcam] sensorGainAndOffset(localScene,oi,sensor) no longer a function (Issue #25)

Hello,

I am trying to use this repository with the fitoolbox repository. I want to create my own simulations to use in the reflectance/fluorescence estimation algorithm. To do this I am trying to run the scripts in fitoolbox/scripts/simulations. At some point all of these scripts reference the iset function sensorGainAndOffset(localScene,oi,sensor) which no longer appears to be in iset. Is sensorGet(sensor,'analog Gain') and sensorGet(sensor,'analog Offset') an appropriate replacement for this function?

Thank You

— Reply to this email directly, view it on GitHubhttps://github.com/ISET/isetcam/issues/25, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOAQWNAG5HCKRFYGB4TPOTVIQQOHANCNFSM5VGCSWGA. You are receiving this because you are subscribed to this thread.Message ID: @.***>