MSNoise Logo
master

Getting Started

  • Installation
  • Workflow Concepts (MSNoise 2.x)
  • Configuration Parameter Reference

Workflows

  • Project Initialization
  • Workflow: Cross-Correlation Functions
  • Workflow: Relative Velocity Variations
  • Workflow: Power Spectral Densities

Using MSNoise

  • Reading outputs with MSNoiseResult
  • How To’s - Recipes
  • Interaction Examples & Gallery
    • Plot a Reference CCF
    • Plot an interferogram
    • Compute the H/V spectral ratio from the ratios of PSDs
    • Compute the H/V spectral ratio from the imaginary part of the CCFs
    • Compare dv/v from MWCS, Stretching, and WCT

API Reference

  • Core Modules
  • MSNoise API
  • Table Definitions
  • Extending MSNoise with Plugins

CLI Reference

  • Help on the msnoise commands

Development

  • About Databases and Performances
  • References
  • Contributors
  • Release Notes
MSNoise
  • Interaction Examples & Gallery
  • View page source

Interaction Examples & Gallery

The following examples are meant to show you how to interact with MSNoise using its API, thus avoiding having to dive into the folder structure.

Users should try examples while checking the MSNoise API (application programming interface) for understanding the calls to different functions.

In a nutshell, all examples start with the following Python code:

from msnoise.api import db
db = connect()

This, if run in an MSNoise project folder (= a folder where you have already run msnoise db init (as explained in Project Initialization)), will provide a Session object, connected to the database.

Plot a Reference CCF

Plot a Reference CCF

Plot an interferogram

Plot an interferogram

Compute the H/V spectral ratio from the ratios of PSDs

Compute the H/V spectral ratio from the ratios of PSDs

Compute the H/V spectral ratio from the imaginary part of the CCFs

Compute the H/V spectral ratio from the imaginary part of the CCFs

Compare dv/v from MWCS, Stretching, and WCT

Compare dv/v from MWCS, Stretching, and WCT

sphx_glr_auto_examples_plot_cc_vs_pcc.py

# CC vs PCC — Side-by-side Comparison

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Previous Next

© Copyright 2026, Lecocq, T. & the MSNoise devs. Last updated on 2026-04-16 13:34.

Built with Sphinx using a theme provided by Read the Docs.