Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Astronomy

Binary Star Eclipse Light Curve and Rossiter-McLaughlin Radial Velocity Fitter

Fit spectroscopic-binary radial velocities with a Levenberg-Marquardt orbit solver, derive the mass ratio and mass function, analyse eclipse-time O−C residuals, estimate the Rossiter-McLaughlin spin-orbit angle, and preview a geometric eclipse light curve.

html· HTML resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/binary-star-eclipse-light-curve-and-rossiter-mclaughlin-radial-velocity-fitter' \
  -H 'Content-Type: application/json' \
  -d '{"rv1Data":"2459000.25 -53.098 1.2\n2459001.08 -58.387 1.2\n2459001.91 8.929 1.2\n2459002.74 70.799 1.2\n2459003.57 88.553 1.2\n2459004.40 -33.710 1.2\n2459005.23 -66.438 1.2\n2459006.06 -1.722 1.2\n2459006.89 62.645 1.2\n2459007.72 92.511 1.2\n2459008.55 -10.085 1.2\n2459009.38 -72.667 1.2\n2459010.21 -12.467 1.2\n2459011.04 53.838 1.2\n2459011.87 93.131 1.2\n2459012.70 15.134 1.2\n2459013.53 -76.256 1.2\n2459014.36 -23.208 1.2\n2459015.19 44.508 1.2\n2459016.02 91.122 1.2","rv2Data":"2459000.61 122.652 1.5\n2459001.80 28.253 1.5\n2459002.99 -76.030 1.5\n2459004.18 17.779 1.5\n2459005.37 99.000 1.5\n2459006.56 -20.010 1.5\n2459007.75 -85.593 1.5\n2459008.94 111.131 1.5\n2459010.13 51.676 1.5\n2459011.32 -61.379 1.5\n2459012.51 -33.149 1.5\n2459013.70 115.449 1.5","periodHintDays":4.3,"eclipseTimes":"2459000.0000\n2459004.2775\n2459008.5550\n2459012.8445\n2459017.1100","mass1Msun":2.1,"inclinationDeg":87,"radiusRatio":0.28,"vsiniKmS":45,"rmAmplitudeKmS":1.9,"impactParam":0.3}'

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/binary-star-eclipse-light-curve-and-rossiter-mclaughlin-radial-velocity-fitter

Parameters

NameTypeRequiredDescription
rv1DatatextareaYes—
rv2DatatextareaNo—
periodHintDaysnumberNo—
eclipseTimestextareaNo—
mass1MsunnumberNo—
inclinationDegnumberNo—
radiusRationumberNo—
vsiniKmSnumberNo—
rmAmplitudeKmSnumberNo—
impactParamnumberNo—

Response format

HTML result

JSON
{
  "result": "<div>Processed HTML content</div>",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-binary-star-eclipse-light-curve-and-rossiter-mclaughlin-radial-velocity-fitter": {
      "name": "binary-star-eclipse-light-curve-and-rossiter-mclaughlin-radial-velocity-fitter",
      "description": "Fit spectroscopic-binary radial velocities with a Levenberg-Marquardt orbit solver, derive the mass ratio and mass function, analyse eclipse-time O−C residuals, estimate the Rossiter-McLaughlin spin-orbit angle, and preview a geometric eclipse light curve.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=binary-star-eclipse-light-curve-and-rossiter-mclaughlin-radial-velocity-fitter",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "binary-star-eclipse-light-curve-and-rossiter-mclaughlin-radial-velocity-fitter",
    "arguments": {
  "rv1Data": "2459000.25 -53.098 1.2\n2459001.08 -58.387 1.2\n2459001.91 8.929 1.2\n2459002.74 70.799 1.2\n2459003.57 88.553 1.2\n2459004.40 -33.710 1.2\n2459005.23 -66.438 1.2\n2459006.06 -1.722 1.2\n2459006.89 62.645 1.2\n2459007.72 92.511 1.2\n2459008.55 -10.085 1.2\n2459009.38 -72.667 1.2\n2459010.21 -12.467 1.2\n2459011.04 53.838 1.2\n2459011.87 93.131 1.2\n2459012.70 15.134 1.2\n2459013.53 -76.256 1.2\n2459014.36 -23.208 1.2\n2459015.19 44.508 1.2\n2459016.02 91.122 1.2",
  "rv2Data": "2459000.61 122.652 1.5\n2459001.80 28.253 1.5\n2459002.99 -76.030 1.5\n2459004.18 17.779 1.5\n2459005.37 99.000 1.5\n2459006.56 -20.010 1.5\n2459007.75 -85.593 1.5\n2459008.94 111.131 1.5\n2459010.13 51.676 1.5\n2459011.32 -61.379 1.5\n2459012.51 -33.149 1.5\n2459013.70 115.449 1.5",
  "periodHintDays": 4.3,
  "eclipseTimes": "2459000.0000\n2459004.2775\n2459008.5550\n2459012.8445\n2459017.1100",
  "mass1Msun": 2.1,
  "inclinationDeg": 87,
  "radiusRatio": 0.28,
  "vsiniKmS": 45,
  "rmAmplitudeKmS": 1.9,
  "impactParam": 0.3
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]

Browse tools
Open tool