• CLEAN DATA
  • VALIDATION
  • HUMAN REVIEW
  • STORAGE

How to generate master flats with your agent

Connect the Flat-Field Normalizer to your AI client to automate your calibration pipeline. Once connected, your agent handles the heavy lifting of frame stacking and outlier rejection.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I generate master flats with my AI?

Point your agent toward a folder of raw calibration frames and ask it to create a master flat. Your agent uses sigma clipping to strip out cosmic rays and noise, leaving you with a clean, high-precision master frame. Here is what you get.

The calibration results

Where your data lands.

Your agent processes your raw frames into these specific outcomes.

CLEAN DATA

High-precision master flats

Your agent runs sigma clipping to remove outliers. You get a single, clean master flat ready for your reduction pipeline.

VALIDATION

Statistical health reports

Your agent provides the clipping statistics used during the stack. This tells you exactly how much noise was rejected.

HUMAN REVIEW

Manual outlier inspection

Your agent flags frames that failed the sigma check. You decide if those frames should be re-processed or discarded.

STORAGE

Ready-to-use FITS files

The final master flat is saved as a standard FITS file. It is ready to be loaded into your imaging software immediately.

The workflow

What your agent does when the raw frames arrive.

Your agent takes over the mathematical heavy lifting so you don't have to manually stack frames.

  1. Frame ingestion

    Your agent scans your local or cloud storage to identify all relevant raw calibration frames in the set.

    create_master_flat
  2. Outlier rejection

    Your agent applies sigma clipping to each pixel across the stack. This identifies and removes cosmic rays or hot pixels.

    create_master_flat
  3. Master construction

    Your agent averages the remaining valid pixels to build the final master flat frame.

    create_master_flat
  4. File delivery

    Your agent writes the finished master flat to your specified output directory.

    create_master_flat

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Flat-Field Normalizer tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the calibration process.

Starting points

Replace the bracketed text with your actual folder paths or file names.

Flat-Field Normalizer Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ApQu6K5T2z9iZA4jPBM9sIJRMKF9GDcAPC3RIBfD/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Flat-Field Normalizer capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "flat-field-normalizer-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ApQu6K5T2z9iZA4jPBM9sIJRMKF9GDcAPC3RIBfD/mcp"
    }
  }
}
Copy into chat04
  • 01

    Use the Flat-Field Normalizer to create a master flat from the frames in /data/calibration/flats/

  • 02

    Generate a master flat using sigma clipping for the files in my current working directory.

  • 03

    Look at the raw frames in the 'night_session_01' folder and build a master flat.

  • 04

    Create a master flat from the calibration set and tell me the sigma clipping statistics used.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Flat-Field Normalizer once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start prompting immediately.

Connect Flat-Field Normalizer to your agent

FAQ

How this task behaves

  • 01

    Can your agent fix bad frames automatically?

    No. Your agent identifies and rejects outliers during the sigma clipping process, but it does not attempt to repair a physically damaged or corrupted frame.

  • 02

    Does your agent delete my original raw frames?

    No. Your agent only reads your raw frames to create the new master flat. Your original data remains untouched.

  • 03

    How does it handle cosmic rays?

    It uses sigma clipping to identify pixels that deviate significantly from the median value, effectively stripping them out of the final stack.

  • 04

    Can I choose the sigma threshold?

    Yes, you can specify the clipping parameters in your prompt to your agent.

  • 05

    Will your agent rename my original files?

    No. The tool only creates new files for the master flats; it does not modify your existing file naming convention.

  • More questions about Flat-Field Normalizer? The Connector page answers them. See everything the Flat-Field Normalizer Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Flat-Field Normalizer to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Flat-Field Normalizer plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Flat-Field Normalizer to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.