Import a SCAPS file
scaps_import_fileAdd a shared SCAPS file to your installation: validates definitions and materials, then lists any referenced absorption, grading, or filter files that are missing.
Instructions
Add a SCAPS file someone shared (device .def, .material, .abs, spectrum, measurement...) to the installation.
Definitions and materials are parsed to confirm they are valid, and files they reference but that are missing (absorption, grading, filter) are listed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | File type; decides the SCAPS folder. | |
| name | Yes | File name with its SCAPS extension, e.g. 'perovskite cell.def'. | |
| content | Yes | Full text of the file. | |
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| kind | Yes | ||
| summary | Yes | ||
| missing_references | Yes |