Re: Questions: IIO type for absorbance and float values in channels?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 21, 2022 at 2:29 PM Jonathan Cameron
<Jonathan.Cameron@xxxxxxxxxx> wrote:
> On Tue, 21 Jun 2022 14:18:55 +0200
> Stefan Lengfeld <stefan.lengfeld@xxxxxxxxx> wrote:

...

> > Question 1:
> >
> > The sensor measures the absorbance[1] of a material. It's the negative
> > logarithmic quotient of the received and emitted light. It's a unit-less value.
> >
> > As far as I can see there is currently no predefined IIO type in the kernel for
> > this.  I have search the list [2], but nothing matches.
> >
> > Do I overlook something or what channel type should I use for this sensor
> > measurement value?
>
> So the closest we've seen to this is some of the health sensors (pulse oximeter
> targeting devices) but in that case the processing is done with a custom userspace
> library so we just pass values on in fixed point.
>
> So probably needs a new channel type.

Wouldn't this be a particular case of ambient (light) sensor?

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux