Skip to content

2. Data format

Santiago Guerrero-Higareda edited this page Apr 1, 2025 · 1 revision

PhotoprotectionPy accepts arrays where each row represents an absorbance reading from 290 nm to 400 nm wavelength with an increment step of 1 nm (d𝜆=1, 110 rows) and, where each column is a sample.

Wavelength (nm) Sample 1 Sample 2 ... Sample n
290 A290 - Sample 1 A290 - Sample 2 ... A290 - Sample n
... ... ... ... ...
400 A400 - Sample 1 A400 - Sample 2 ... A400 - Sample n

Where An corresponds to the absorbance readings at each wavelength for each sample.

The package automatically transforms the input data to a NumPy array (numpy.array). Modules will verify that the data has the appropriate dimensions.

Clone this wiki locally