neutronpy
Reference
Module Table of Contents
neutronpy package
Members
Submodules
Module contents
Indices and tables
neutronpy
neutronpy package
Members
Submodules
Module contents
neutronpy.constants module
neutronpy.constants.magnetic_ion_j
neutronpy.constants.periodic_table
neutronpy.constants.scattering_lengths
neutronpy.constants.symmetry
neutronpy.constants.JOULES_TO_MEV
neutronpy.constants.BOLTZMANN_IN_MEV_K
neutronpy.constants.N_A
neutronpy.crystal module
neutronpy.crystal.Lattice
neutronpy.crystal.MagneticFormFactor
neutronpy.crystal.Material
neutronpy.crystal.NuclearStructureFactor
neutronpy.crystal.Sample
neutronpy.crystal.SpaceGroup
neutronpy.fileio module
neutronpy.fileio.detect_filetype
neutronpy.fileio.load_data
neutronpy.fileio.load_instrument
neutronpy.fileio.save_data
neutronpy.functions module
neutronpy.functions.gaussian
neutronpy.functions.gaussian2d
neutronpy.functions.lorentzian
neutronpy.functions.voigt
neutronpy.functions.resolution
neutronpy.functions.gaussian_ring
neutronpy.gui module
neutronpy.gui.launch
neutronpy.instrument module
neutronpy.instrument.Instrument
neutronpy.instrument.Monochromator
neutronpy.instrument.Analyzer
neutronpy.instrument.tools.GetTau
neutronpy.instrument.tools.get_angle_ki_Q
neutronpy.instrument.tools.get_kfree
neutronpy.instrument.tools.chop
neutronpy.instrument.tools.get_bragg_widths
neutronpy.lsfit module
neutronpy.lsfit.Fitter
neutronpy.models module
neutronpy.models.simple_harmonic_oscillator
neutronpy.models.damped_harmonic_oscillator
neutronpy.models.acoustic_phonon_dispersion
neutronpy.models.ferromagnetic_disperion
neutronpy.models.antiferromagnetic_disperion
neutronpy.spurion module
neutronpy.spurion.aluminum
neutronpy package
Members
neutronpy.data.data.Data
neutronpy.energy.Energy
neutronpy.lsfit.Fitter
neutronpy.instrument.instrument.Instrument
neutronpy.crystal.lattice.Lattice
neutronpy.crystal.material.Material
neutronpy.crystal.sample.Sample
Submodules
neutronpy.constants module
neutronpy.crystal module
neutronpy.data module
neutronpy.energy module
neutronpy.fileio module
neutronpy.functions module
neutronpy.gui module
neutronpy.instrument module
neutronpy.lsfit module
neutronpy.models module
neutronpy.spurion module
Module contents
neutronpy.constants module
neutronpy.constants.magnetic_ion_j
neutronpy.constants.periodic_table
neutronpy.constants.scattering_lengths
neutronpy.constants.symmetry
neutronpy.constants.JOULES_TO_MEV
neutronpy.constants.BOLTZMANN_IN_MEV_K
neutronpy.constants.N_A
neutronpy.crystal module
neutronpy.crystal.Lattice
neutronpy.crystal.Lattice.get_d_spacing
neutronpy.crystal.Lattice.get_q
neutronpy.crystal.Lattice.get_two_theta
neutronpy.crystal.Lattice.get_angle_between_planes
neutronpy.crystal.MagneticFormFactor
neutronpy.crystal.MagneticFormFactor.calc_mag_form_fac
neutronpy.crystal.Material
neutronpy.crystal.Material.calc_nuc_str_fac
neutronpy.crystal.Material.calc_mag_str_fac
neutronpy.crystal.Material.calc_mag_int_vec
neutronpy.crystal.Material.calc_incoh_elas_xs
neutronpy.crystal.Material.calc_optimal_thickness
neutronpy.crystal.Material.plot_unit_cell
neutronpy.crystal.Material.get_angle_between_planes
neutronpy.crystal.Material.get_d_spacing
neutronpy.crystal.Material.get_q
neutronpy.crystal.Material.get_two_theta
neutronpy.crystal.Material.N_atoms
neutronpy.crystal.NuclearStructureFactor
neutronpy.crystal.NuclearStructureFactor.calc_nuc_str_fac
neutronpy.crystal.Sample
neutronpy.crystal.Sample.get_d_spacing
neutronpy.crystal.Sample.get_q
neutronpy.crystal.Sample.get_two_theta
neutronpy.crystal.Sample.get_angle_between_planes
neutronpy.crystal.SpaceGroup
neutronpy.crystal.SpaceGroup.symmetrize_position
neutronpy.data module
neutronpy.data.Data
neutronpy.data.Data.bin
neutronpy.data.Data.combine_data
neutronpy.data.Data.subtract_background
neutronpy.data.Data.integrate
neutronpy.data.Data.position
neutronpy.data.Data.width
neutronpy.data.Data.estimate_background
neutronpy.data.Data.subtract_background
neutronpy.data.Data.dynamic_susceptibility
neutronpy.data.Data.scattering_function
neutronpy.data.Data.plot
neutronpy.data.Analysis
neutronpy.data.Analysis.integrate
neutronpy.data.Analysis.position
neutronpy.data.Analysis.width
neutronpy.data.Analysis.scattering_function
neutronpy.data.Analysis.dynamic_susceptibility
neutronpy.data.Analysis.estimate_background
neutronpy.data.Scans
neutronpy.data.Scans.waterfall
neutronpy.data.Scans.pcolor
neutronpy.data.Scans.func_col
neutronpy.data.Scans.min_col
neutronpy.data.Scans.max_col
neutronpy.energy module
neutronpy.energy.Energy
neutronpy.fileio module
neutronpy.fileio.detect_filetype
neutronpy.fileio.load_data
neutronpy.fileio.load_instrument
neutronpy.fileio.save_data
neutronpy.functions module
neutronpy.functions.gaussian
neutronpy.functions.gaussian2d
neutronpy.functions.lorentzian
neutronpy.functions.voigt
neutronpy.functions.resolution
neutronpy.functions.gaussian_ring
neutronpy.gui module
neutronpy.gui.launch
neutronpy.instrument module
neutronpy.instrument.Instrument
neutronpy.instrument.Monochromator
neutronpy.instrument.Analyzer
neutronpy.instrument.tools.GetTau
neutronpy.instrument.tools.get_angle_ki_Q
neutronpy.instrument.tools.get_kfree
neutronpy.instrument.tools.chop
neutronpy.instrument.tools.get_bragg_widths
neutronpy.lsfit module
neutronpy.lsfit.Fitter
neutronpy.lsfit.Fitter.fit
neutronpy.models module
neutronpy.models.simple_harmonic_oscillator
neutronpy.models.damped_harmonic_oscillator
neutronpy.models.acoustic_phonon_dispersion
neutronpy.models.ferromagnetic_disperion
neutronpy.models.antiferromagnetic_disperion
neutronpy.spurion module
neutronpy.spurion.aluminum
Tutorials
Basic introduction to using NeutronPy
Importing and using NeutronPy
Handling Data
Converting Neutron Energy
Fitting Data
Calculating Triple-Axis Resolution
Using the Triple-Axis Resolution GUI
Performing Lattice Geometry Calculations
Performing Structure Factor Calculations
Finding Aluminum Spurion Positions
Data handling with the Data Class
Initialization: loading data
Load from file
Pass pre-loaded data
Data
properties
Intensity and error
Monitor normalization
Time normalization
The
Q
vector
Data
operations
Quick analysis
Binning data
Visualizing data
Basic plotting
Options
Least-squares fitting with the Fitter Class
Defining the problem
Initializing
Initial parameters and Constraints
Fitting
Results
Using the Resolution Calculation Graphical User Interface
Resolution calculation with Instrument Class
Instrument Configuration
Sample Configuration
Initializing the Instrument
Calculating the resolution
Resolution parameters
Resolution ellipses
Popovici calculation
Simple Plotting of Resolution Ellipses
Simple Plotting of the 3D Resolution Ellipsoid
Plotting of the Instrument setup for a given (Q,W)
Loading an Instrument and Sample from files
Form Factor calculation with the Material Class
Defining the Material
Initializing the Material class
Calculating the structure factor
Using space group to properly symmetrize
Notebook Examples
Resolution Convolution (4D) Example
Resolution Convolution (SMA) Example
FAQs
Installation
Anaconda Cloud - conda –
Recommended
Python Package Index - pip
Installation from Source
Troubleshooting
Development
Requirements
Write for Python 3
PEP8 Formatting
Documentation
Unit tests
Development Workflow
Fork and clone
Create a branch
Commit changes
Rebase on neutronpy
master
Create pull request
Cleanup
Development Environment
Versions
Roadmap
Milestones
Next Release
Future Features
Changelog
Contact
Bugs/ticket tracker
neutronpy
Docs
»
neutronpy.instrument.Instrument.get_angles_and_Q
View page source
neutronpy.instrument.Instrument.get_angles_and_Q
¶