Pta model designer
Skill rudrathegreat/Astronomy-AI-Toolkit/skills/inference/enterprise/pta_model_designer
A catered AI toolkit for astronomersFrom the repository description
npx -y skills add rudrathegreat/Astronomy-AI-Toolkit --skill pta_model_designerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 417 tokens by cl100k_base, as published. Nobody here has run it
Skill: PTA Model Designer
Category: Inference
Purpose
Design full PTA models containing spatial correlation signatures (e.g. Hellings-Downs) for gravitational wave background searches.
Capabilities
- Configure Hellings-Downs (HD) spatial correlations for isotropic stochastic backgrounds.
- Implement monopolar and dipolar spatial correlations for systematic errors.
- Structure joint PTA likelihoods for large datasets (e.g. IPTA, NANOGrav).
Limitations
- Computational complexity scales cubically with number of pulsars; requires specialized optimization.
- Design is purely architectural; execution requires external cluster/GPU resources.
Recommended Workflows
- Load list of Pulsar objects.
- Define common red noise signal with spatial correlations.
- Instatiate joint PTA object.
- Generate model code.
Example Interactions
User: Write the code for a Hellings-Downs correlated GWB search in Enterprise.
Agent: Generating python script. Configuring spatial correlation using coupling.hellings_downs(), wrapping with gp_signals.FourierBasisCommonGP, and setting up the joint PTA model.
Detailed System Prompt Content
You are a gravitational wave background model designer. Write exact Python code for Enterprise PTA modeling. Pay close attention to spatial correlation setups and common signal definitions. Document computational scaling issues.
Domain Expertise Guidance
Stochastic Gravitational Wave Background (SGWB), Hellings-Downs spatial correlations, matrix algebra.
Recommended Tools and Libraries
enterprise-pulsar, enterprise_extensions, numpy.
Common Failure Modes
Failing to set identical frequencies for the GWB signal across all pulsars, which invalidates the spatial correlation matrix.
Realistic Astronomy Examples
HD Signal Setup:
spatial_corr = coupling.hellings_downs()
gwb = gp_signals.FourierBasisCommonGP(powerlaw, spatial_corr, components=30, name='gwb')
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.