Skip to main content
Ctrl+K

anri v0.1.0

  • User guide
  • API reference
  • Contributing
  • Changelog
  • User guide
  • API reference
  • Contributing
  • Changelog

Section Navigation

  • crystal
    • B_to_rmt
    • UBI_to_mt
    • lpars_rlpars_to_B
    • lpars_to_B
    • lpars_to_mt
    • metric_to_volume
    • mt_to_rmt
    • mt_to_lpars
    • rmt_to_mt
    • Crystal
      • allds
      • allhkls
      • alltth
      • make_hkls
    • Grain
    • Structure
      • ringds
      • ringhkls
      • ringhkls_arr
      • ringmult
      • rings_dict
      • rings_table
      • ringtth
      • from_cif
    • Symmetry
      • sgname
      • sgno
      • sym_ops
      • from_name
      • from_number
    • UnitCell
      • lattice_parameters
      • mt
      • reciprocal_lattice_parameters
      • rmt
      • volume
      • from_lpars
  • diffract
    • k_to_q_lab
    • omega_solns
    • peak_lab_to_k_out
    • q_lab_to_k_out
    • q_lab_to_tth_eta
    • scale_norm_k
    • tth_eta_to_k_out
    • q_to_ds
    • ds_to_tth
  • geom
    • det_to_lab
    • detector_basis_vectors_lab
    • detector_orientation_matrix
    • detector_rotation_matrix
    • detector_transforms
    • find_dty_for_beam_xy
    • lab_to_det
    • raytrace_to_det
    • lab_to_sample
    • sample_to_lab
    • recon_to_step
    • step_to_recon
    • step_grid_from_ybincens
    • step_to_sample
    • rmat_from_axis_angle
    • rot_x
    • rot_y
    • rot_z
  • fwd
    • hkl_to_k_omega
    • get_cov_in
    • propagate_cov
    • propagate_cov_box
    • propagate_cov_box_all_grains
    • propagate_cov_box_all
    • propagate_cov_scan
    • propagate_cov_scan_all_grains
    • propagate_cov_scan_all
    • get_centroid_box
    • get_centroid_box_all_grains
    • get_centroid_box_all
    • get_centroid_scan
    • get_centroid_scan_all_grains
    • get_centroid_scan_all
    • mahalanobis_sq
    • sample_intensities
    • prepare_cov
    • peak_to_pixels
    • peaks_to_pixels
  • API reference
  • crystal
  • Grain

Grain#

class anri.crystal.Grain(UBI)[source]#

Bases: UnitCell

An oriented UnitCell() with no symmetry.

Attributes

Methods

previous

make_hkls

next

Structure

On this page
  • Grain
Show Source

© Copyright 2026, James A. D. Ball.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.17.0.