Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

brugesbruges 命令行

Agent Skill

bruges 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

326

周安装

14

GitHub Stars

23

下载量

114
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bruges(bruges 命令行)
来源仓库:https://github.com/steadfastasart/geoscience-skills
仓库路径:skills/bruges
安装命令:
npx skills add https://github.com/steadfastasart/geoscience-skills --skill bruges
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/steadfastasart/geoscience-skills --skill bruges

简介

bruges 提供地球物理学方程快速参考,包含 AVO、波束和流体替换计算。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中进行地震数据处理和分析。
  • 支持 Zoeppritz 反射率、Ricker 波束和 Gassmann 方程等核心算法。
  • 使用前需导入 bruges 模块并配置 numpy,注意仅限科研计算用途。
  • 建议结合原始 README 和仓库文档进一步核验具体使用方法和限制条件。

SKILL.md

bruges - Geophysics Equations

Quick Reference

import bruges
import numpy as np

# AVO - Zoeppritz reflectivity
from bruges.reflection import zoeppritz
theta = np.arange(0, 45, 1)
Rpp = zoeppritz(vp1, vs1, rho1, vp2, vs2, rho2, theta)

# Wavelet - Ricker
from bruges.filters import ricker
t, w = ricker(duration=0.128, dt=0.001, f=25)

# Fluid substitution
from bruges.rockphysics import gassmann
vp_new, vs_new, rho_new = gassmann(vp, vs, rho, k_min, rho_min,
                                    k_fl1, rho_fl1, k_fl2, rho_fl2, phi)

Module Overview

ModulePurpose
bruges.reflectionZoeppritz, Shuey, Aki-Richards AVO equations
bruges.rockphysicsGassmann, Gardner, Castagna, elastic moduli
bruges.filtersRicker, Ormsby wavelets, convolution

AVO Analysis

from bruges.reflection import zoeppritz, shuey, akirichards
theta = np.arange(0, 45, 1)  # degrees

Rpp = zoeppritz(vp1, vs1, rho1, vp2, vs2, rho2, theta)  # Exact
Rpp = shuey(vp1, vs1, rho1, vp2, vs2, rho2, theta)      # Fast (~30 deg)
Rpp, G = akirichards(vp1, vs1, rho1, vp2, vs2, rho2, theta, return_gradient=True)

Fluid Substitution

from bruges.rockphysics import gassmann

vp_new, vs_new, rho_new = gassmann(
    vp_sat, vs_sat, rho_sat,   # Original saturated rock
    k_min, rho_min,             # Mineral (quartz: 37 GPa, 2.65 g/cc)
    k_fl1, rho_fl1,             # Original fluid (brine: 2.5 GPa, 1.05 g/cc)
    k_fl2, rho_fl2,             # New fluid (oil: 0.9 GPa, 0.8 g/cc)
    phi                         # Porosity
)

Wavelets

from bruges.filters import ricker, ormsby

# Ricker (single frequency)
t, wavelet = ricker(duration=0.128, dt=0.001, f=25)

# Ormsby (bandpass: low cut, low pass, high pass, high cut)
t, wavelet = ormsby(duration=0.128, dt=0.001, f=[5, 10, 50, 60])

Synthetic Seismogram

from bruges.filters import ricker
from scipy.signal import convolve

rc = np.diff(impedance) / (impedance[:-1] + impedance[1:])  # Reflectivity
_, wavelet = ricker(0.128, 0.001, 30)
synthetic = convolve(rc, wavelet, mode='same')

Elastic Moduli

from bruges.rockphysics import moduli

K = moduli.bulk(vp, vs, rho)      # Bulk modulus (GPa)
mu = moduli.shear(vs, rho)        # Shear modulus (GPa)
E = moduli.youngs(vp, vs, rho)    # Young's modulus (GPa)
nu = moduli.poissons(vp, vs)      # Poisson's ratio

Empirical Relations

from bruges.rockphysics import gardner, castagna

rho = gardner(vp)    # Density from Vp (g/cc)
vs = castagna(vp)    # Vs from Vp (mudrock line)

AVO Classification

ClassInterceptGradientDescription
I+-High impedance sand
II~0-Near-zero intercept
IIp~0+Phase reversal
III--Low impedance sand
IV-+Very low impedance

When to Use vs Alternatives

Use CaseToolWhy
AVO modelling and reflectivitybrugesComplete Zoeppritz/Shuey/Aki-Richards suite
Gassmann fluid substitutionbrugesClean API, validated equations
Seismic waveletsbrugesRicker, Ormsby, and more out of the box
Elastic moduli calculationsbrugesBulk, shear, Young's, Poisson's from Vp/Vs
Advanced rock physics modelsrockphypyMore models (Hashin-Shtrikman, DEM, etc.)
Simple impedance/reflectivityCustom numpyFewer dependencies for basic calculations
Full seismic modelling (FD/FE)Devito / SimPEGWave equation solvers
Well log processingwelly / lasioLAS file I/O and log manipulation

Choose bruges when: You need validated geophysical equations for AVO analysis, fluid substitution, or synthetic seismogram generation. It provides clean, tested implementations of standard rock physics equations.

Choose rockphypy when: You need a broader set of rock physics models beyond what bruges offers, such as effective medium theories or contact models.

Choose custom numpy when: You only need a single equation (e.g., acoustic impedance = Vp * rho) and want to avoid adding a dependency.

Common Workflows

AVO Analysis and Synthetic Seismogram Generation

  • Define layer properties (Vp, Vs, density) from well logs or literature
  • Compute acoustic impedance: AI = Vp * rho
  • Compute reflectivity series using zoeppritz() or shuey() for each interface
  • Classify AVO response (Class I-IV) from intercept and gradient
  • Perform Gassmann fluid substitution to model fluid effects on Vp/Vs
  • Recompute reflectivity with substituted properties
  • Generate Ricker or Ormsby wavelet at target frequency
  • Convolve reflectivity with wavelet to create synthetic seismogram
  • Compare synthetic with observed seismic for well tie
  • Compute elastic moduli (K, mu, E, nu) for crossplot analysis
  • Create AVO crossplots (intercept vs gradient) to identify anomalies

Common Issues

IssueSolution
Rpp blows up at high anglesUse Zoeppritz (exact) instead of Shuey above 30 degrees
Gassmann gives unrealistic VpCheck mineral modulus and porosity values
Wavelet length too shortIncrease duration parameter (try 0.128-0.256 s)
Negative shear modulusVerify Vs < Vp and density is reasonable
Units mismatchEnsure consistent units: m/s for velocity, g/cc for density

Tips

  1. Zoeppritz is exact but slower - use Shuey for angles < 30 degrees
  2. Gassmann assumes low frequency and connected pores
  3. Gardner/Castagna are empirical - calibrate to your data
  4. Angles in degrees for reflection functions

References

Scripts

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.47%
按下载量换算44

Claude

31.39%
按下载量换算36

Cursor

16.73%
按下载量换算19

Gemini CLI

8.73%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills