<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SensorKit",
  "identifier" : "/documentation/SensorKit/SRPhotoplethysmogramOpticalSample/activePhotodiodeIndexes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SensorKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SRPhotoplethysmogramOpticalSample(py)activePhotodiodeIndexes"
  },
  "title" : "activePhotodiodeIndexes"
}
-->

# activePhotodiodeIndexes

The set of photodiodes in use during the sample.

```
var activePhotodiodeIndexes: IndexSet { get }
```

## Discussion

To map the spatial location of the active photodiodes, see the Apple Watch diagrams in [`Interpret second-generation PPG sensors data`](/documentation/SensorKit/SRPhotoplethysmogramOpticalSample#Interpret-second-generation-PPG-sensors-data) and [`Interpret third-generation PPG sensors`](/documentation/SensorKit/SRPhotoplethysmogramOpticalSample#Interpret-third-generation-PPG-sensors).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)