run_spcc
Calibrate colors in astronomical images using spectrophotometric color calibration. Requires a linear image with an existing astrometric solution to produce accurate color correction.
Instructions
Run SpectrophotometricColorCalibration (SPCC). Requires the image to have an astrometric solution (run_plate_solve adds one) and to be linear (not stretched).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"view_id": "<view_id>"
},
"name": "run_spcc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qe_name | No | Camera QE curve name (find_filters channel Q) | |
| view_id | Yes | View ID to calibrate (must be linear, must have a WCS/astrometric solution) | |
| narrowband_mode | No | Enable narrowband mode (default false) | |
| red_filter_name | No | Measured R filter curve name, as listed by find_filters. Set all three filters and qe_name together for a full calibration. | |
| white_reference | No | White reference name from PixInsight's database, e.g. "Average Spiral Galaxy", "G2V Star" | |
| blue_filter_name | No | Measured B filter curve name, as listed by find_filters | |
| green_filter_name | No | Measured G filter curve name, as listed by find_filters | |
| white_reference_name | No | Same as white_reference |