Giter Site home page Giter Site logo

rifta's Introduction

Introduction

RIFTA is the Robust Iterative Fourier Transform based dwell time Algorithm (RIFTA) for deterministic optics fabrication. RIFTA was proposed and developed at the National Synchrotron Light Source II (NSLS-II), NY, USA, for the Ion Beam Figuring (IBF) of synchrotron X-ray mirrors. It can be generally applied to any Computer Controlled Optical Surfacing (CCOS) processes. Both the MATLAB and Python implementations of the algorithm are open sourced in this repository.

Implemented algorithms

  • Surface height-based RIFTA [1]
  • Surface slope-based RIFTA
  • Thresholded inverse filtering assisted by direct search [1]
  • 2D convolution using Fast Fourier Transform (FFT)

RIFTA example results

RIFTA results

Note

  • All the units used in the code are metres unless otherwise specified.
  • The common arguments that are required for IBFest dwell time calculation include:
    • Tool Influence Function (TIF): the TIF can come from either the measurement or model, by choosing avg or model, respectively. If model is chosen, the parameters for a 2D Gaussian should be set, includeing the Peak Removal Rate (PRR) A, the Sigma, the diameter d, and the centers u. If avg is chosen, Xtif, Ytif, and Ztif should be provided.
    • Zd: the desired height to be removed.
    • ca_range: the range of the Clear Aperture (CA), which is a struct contains x_s, y_s, x_e, and y_e, which are the start and end coordinates (units are meters) of the CA.
    • dg_range: the range of the Dwell Grid (DG), which should be larger than ca_range at least the radius of the BRF on each side.

Reference

[1] Wang, T., Huang, L., Kang, H. et al. RIFTA: A Robust Iterative Fourier Transform-based dwell time Algorithm for ultra-precision ion beam figuring of synchrotron mirrors. Sci Rep 10, 8135 (2020). https://doi.org/10.1038/s41598-020-64923-3.

rifta's People

Contributors

twang006 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.