deproject_and_bin
Shift visibilities to a source position, deproject to a face-on geometry, and radially bin them to calculate weighted mean Re/Im and errors versus uv distance.
Instructions
Phase-centre shift, deprojection and radial binning of visibilities.
Shift: V' = V exp(+2 pi i (u dRA + v dDec)) moves a source at (dRA, dDec) to the phase centre. Deprojection: q = sqrt(q_maj^2 + (q_min cos i)^2) with q_maj along the PA (east of north) of the major axis. Each bin gives weighted means of Re and Im (weights = CASA WEIGHT) and errors 1/sqrt(sum w). Returns uv distance in klambda. Limits: assumes axisymmetry; Im is near zero only for a centred symmetric source, so residual Im flags offsets or asymmetry.
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": {
"vis_path": "<vis_path>"
},
"name": "deproject_and_bin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n_bins | No | ||
| pa_deg | No | ||
| uv_unit | No | lambda | |
| freq_ghz | No | ||
| vis_path | Yes | ||
| dra_arcsec | No | ||
| ddec_arcsec | No | ||
| max_klambda | No | ||
| inclination_deg | No | ||
| bin_width_klambda | No |