Skip to content
Skills Library
Science & research · Analysis

optics_analysis

/optics_analysis

Optical System Analysis - Analyze optical system: calculate photon rate, frequency range, radiation pressure, and electron wavelength. Use this skill for optics tasks involving calculate incident photon rate calculate frequency range calculate radiation pressure electron wavelength. Combines 4 tools from 1 SCP server(s).

Repository
scp ↗
Licence
MIT
Last repository change
03.06.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
7
Deprecation

No signals detected. Repository changed on 03.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Optical System Analysis - Analyze optical system: calculate photon rate, frequency range, radiation pressure, and electron wavelength. Use this skill for optics tasks involving calculate incident photon rate calculate frequency range calculate radiation pressure electron wavelength. Combines 4 tools from 1 SCP server(s).

Original author description

Optical System Analysis - Analyze optical system: calculate photon rate, frequency range, radiation pressure, and electron wavelength. Use this skill for optics tasks involving calculate incident photon rate calculate frequency range calculate radiation pressure electron wavelength. Combines 4 tools from 1 SCP server(s).

How it works

  1. Description
  2. Tools Used
  3. Workflow
  4. Test Case
  5. Usage Example
Original SKILL.md headings · 105 lines, 323 words
SKILL.md preview
---
name: optics_analysis
description: "Optical System Analysis - Analyze optical system: calculate photon rate, frequency range, radiation pressure, and electron wavelength. Use this skill for optics tasks involving calculate incident photon rate calculate frequency range calculate radiation pressure electron wavelength. Combines 4 tools from 1 SCP server(s)."
---

# Optical System Analysis

**Discipline**: Optics | **Tools Used**: 4 | **Servers**: 1

## Description

Analyze optical system: calculate photon rate, frequency range, radiation pressure, and electron wavelength.

## Tools Used

- **`calculate_incident_photon_rate`** from `server-23` (streamable-http) - `https://scp.intern-ai.org.cn/api/v1/mcp/23/Optics_and_Electromagnetics`
- **`calculate_frequency_range`** from `server-23` (streamable-http) - `https://scp.intern-ai.org.cn/api/v1/mcp/23/Optics_and_Electromagnetics`
- **`calculate_radiation_pressure`** from `server-23` (streamable-http) - `https://scp.intern-ai.org.cn/api/v1/mcp/23/Optics_and_Electromagnetics`
- **`electron_wavelength`** from `server-23` (streamable-http) - `https://scp.intern-ai.org.cn/api/v1/mcp/23/Optics_and_Electromagnetics`

## Workflow

1. Calculate incident photon rate
2. Calculate frequency range
3. Compute radiation pressure
4. Calculate electron wavelength

## Test Case

### Input
```json
{
    "wavelength": 5e-07,
    "power": 1.0
}
```

### Expected Steps
1. Calculate incident photon rate
2. Calculate frequency range
3. Compute radiation pressure
4. Calculate electron wavelength

## Usage Example

> **Note:** Replace `<YOUR_SCP_HUB_API_KEY>` with your own SCP Hub API Key. You can obtain one from the [SCP Platform](https://scphub.intern-ai.org.cn).

```python
import asyncio
import json
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
from mcp.client.sse import sse_client

SERVERS = {
    "server-23": "https://scp.intern-ai.org.cn/api/v1/mcp/23/Optics_and_Electromagnetics"
}

async def connect(url, transport_type):
    transport = streamablehttp_client(url=url, headers={"SCP-HUB-API-KEY": "<YOUR_SCP_HUB_API_KEY>"})
    read, write, _ = await transport.__aenter__()
    ctx = ClientSession(read, write)
    session = await ctx.__aenter__()
    await session.initialize()
    return session, ctx, transport

def parse(result):
    try:
        if hasattr(result, 'content') and result.content:
            c = result.content[0]
            if hasattr(c, 'text'):
                try: return json.loads(c.text)
                except: return c.text
        return str(result)
    except: return str(result)

async def main():
    # Connect to required servers
    sessions = {}
    sessions["server-23"], _, _ = await connect("https://scp.intern-ai.org.cn/api/v1/mcp/23/Optics_and_Electromagnetics", "streamable-http")

    # Execute workflow steps
    # Step 1: Calculate incident photon rate
    result_1 = await sessions["server-23"].call_tool("calculate_incident_photon_rate", arguments={})
    data_1 = parse(result_1)
    print(f"Step 1 result: {json.dumps(data_1, indent=2, ensure_ascii=False)[:500]}")

    # Step 2: Calculate frequency range
    result_2 = await sessions["server-23"].call_tool("calculate_frequency_range", arguments={})
    data_2 = parse(result_2)
    print(f"Step 2 result: {json.dumps(data_2, indent=2, ensure_ascii=False)[:500]}")

    # Step 3: Compute radiation pressure
    result_3 = await sessions["server-23"].call_tool("calculate_radiation_pressure", arguments={})
    data_3 = parse(result_3)
    print(f"Step 3 result: {json.dumps(data_3, indent=2, ensure_ascii=False)[:500]}")

    # Step 4: Calculate electron wavelength
    result_4 = await sessions["server-23"].call_tool("electron_wavelength", arguments={})
    data_4 = parse(result_4)
    print(f"Step 4 result: {json.dumps(data_4, indent=2, ensure_ascii=False)[:500]}")

    # Cleanup
    print("Workflow complete!")

if __name__ == "__main__":
    asyncio.run(main())
```

Versions

RepositoryScoreLicence
This page · InternScience/scp95MIT
spectrai-initiative/innoclaw95Apache-2.0

Database snapshot: 13.11.2026 · package version 7accfeef33bb (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95signal_processing
    Signal Processing Analysis - Analyze signals: duty cycle, frequency range, electron wavelength, and measurement error analysis. Use this skill for signal processing tasks involving calculate duty cycle calculate frequency range electron wavelength calculate absolute error.…
  • 95signal_processing
    Signal Processing Analysis - Analyze signals: duty cycle, frequency range, electron wavelength, and measurement error analysis. Use this skill for signal processing tasks involving calculate duty cycle calculate frequency range electron wavelength calculate absolute error.…
  • 95electromagnetic_analysis
    Electromagnetic Field Analysis - Analyze EM fields: vacuum permittivity, total charge, radiation pressure, and photon calculations. Use this skill for electromagnetics tasks involving calculate vacuum permittivity calculate total charge calculate radiation pressure calculate…
  • 95electromagnetic_analysis
    Electromagnetic Field Analysis - Analyze EM fields: vacuum permittivity, total charge, radiation pressure, and photon calculations. Use this skill for electromagnetics tasks involving calculate vacuum permittivity calculate total charge calculate radiation pressure calculate…
  • 100matlab-model-optics
    Build, import, analyze, tolerate, and optimize optical systems using the Optical Design and Simulation Library. Use when the user asks about optical systems, ray tracing, geometric optics, Zemax import, optical coatings, tolerancing, or optical design optimization.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.