Code Monkey home page Code Monkey logo

gwinc's Introduction

gwinc

Gravitational Wave Interferometer Noise Calculator

Build Status Documentation
ci badge
codecov badge
doc badge
pages badge
website badge

Installation

This project is managed via poetry and can be easily installed via pip:

pip install git+https://github.com/jrunkening/gwinc.git

If you are using poetry, run the following cmd instead:

poetry add git+https://github.com/jrunkening/gwinc.git

Quick start

This project is implemented to simulate the power spectral density of quantum noise in signal quadrature.

transfer_matrix = build_transfer_matrix([
    Squeezer(
        squeezing_factor = 1.05,
        squeezing_angle = 0,
        phase_error = 30e-3,
        squared_injection_loss = 0.05
    ),
    FilterCavity(
        squared_input_mirror_transmission = 66.3e-6,
        squared_round_trip_loss = 16e-6,
        filter_cavity_length = 55,
        carrier_wavelength = 1064,
        detuning = 48,
        filter_cavity_length_error = 0.3e-12,
        sum_of_all_squeezed_filter_cavity_higher_order_mode_coupling_coefficients = 0.06,
        sum_of_all_squeezed_local_oscillator_higher_order_mode_coupling_coefficients = 0.02,
        mode_mismatch_phase_ambiguity = 2*np.pi
    ),
    Readout(
        squared_readout_loss = 0.05
    )
])

noise = build_noise(
    transfer_matrix = transfer_matrix,
    measurement_amplitude = 1,
    measurement_phase = 0.1 * np.pi/180
)

Example

The example of simulate the noise curve can be found here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.