Skip to main content
Ctrl+K

hklpy2 0.6

  • Tutorial: Your First Diffractometer
  • User Guide
  • Releases
  • API Reference
  • License
  • GitHub
  • Tutorial: Your First Diffractometer
  • User Guide
  • Releases
  • API Reference
  • License
  • GitHub

Section Navigation

  • Quickstart
  • Tutorial: Your First Diffractometer
  • Concepts
    • Overview
    • Constraints
    • Diffractometer creator
    • Diffractometer
    • Crystal Lattice
    • Core Operations
    • Presets
    • Orientation Reflection
    • Sample
    • Solvers
    • User Friendliness
    • Wavelength
  • Diffractometers
  • Examples
    • APS ISN Diffractometer
    • Constraints
    • Example 4-circle diffractometer using creator()
    • Example 4-circle diffractometer custom Python class
    • hkl_soleil E4CH
    • hkl_soleil E4CV
    • hkl_soleil E4CV with EPICS motors
    • hkl_soleil E6C psi axis
    • hkl_soleil E6C test of calculations
    • hkl_soleil K4CV
    • hkl_soleil Refine lattice from 3 reflections
    • hkl_soleil UB matrix : calculate from 2 reflections.
    • hkl_soleil UB matrix : Set directly
    • NSLS-II tardis diffractometer
    • Compare hkl_soleil E4CV with SPEC fourc
    • Virtual diffractometer axis
    • Zone Scan
  • Guides
    • Diffractometer Configuration – Save and Restore
    • Architecture & Design Decisions
    • How to Work with a Diffractometer
    • Diffractometer Extra Solver Parameters
    • Crystal Analyzer on the Detector Arm
    • Ways to Specify Real and Pseudo Axis Positions
    • How to Compute and Set the UB Matrix
    • How to Use Constraints
    • How to Create a Simulator from a Config
    • Diffractometer Extra Motors and/or Pseudos
    • How to Choose the Default forward() Solution
    • Understanding forward() and inverse() Performance
    • How to Use Presets
    • How to Perform an Azimuthal (ψ) Scan
    • How to Make a Release
    • How to Use the hklpy2.user Interface
    • How to Perform a Zone Scan
    • How to write a new Solver
    • Migration from hklpy (v1)
    • Solvers Guide
    • SPEC commands in hklpy2
    • Use E4CV’s q calculation engine
    • Feature Checklist for v2
  • FAQ
  • Installation
  • Glossary
  • User Guide

User Guide#

Quickstart
Tutorial: Your First Diffractometer
Concepts
Diffractometers
Examples
Guides
FAQ
Installation
Glossary
Full API Reference

Complete, auto-generated reference for every public module, class, function, and constant in hklpy2.

previous

Tutorial: Your First Diffractometer

next

Quickstart

Edit on GitHub
Show Source

© Copyright 2023-2026, Argonne National Laboratory.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.17.0.