# Grid kron.m

From Spinach Documentation Wiki

Spherical grid direct product.

## Syntax

[angles,weights]=grid_kron(angles1,weights1,angles2,weights2)

## Description

Tiles one grid using the rotations of the other. Grids should be supplied using Euler angles in three columns [alphas betas gammas] in radians.

## Arguments

angles1 - angles of the first grid, as [alpha beta gamma], rad weights1 - weights of the first grid angles2 - angles of the second grid, as [alpha beta gamma], rad weights1 - weights of the second grid

## Returns

angles - angles of the product grid, as [alpha beta gamma], rad weights - weights of the product grid

## Examples

Grid files are located in kernel/grids directory.

## Notes

The function is provided for research purposes, but it is generally not a good idea to obtain spherical grids by taking direct products of smaller ones. Use repulsion.m to obtain very good grids of any size.

## See also

get_hull.m, grid_test.m, repulsion.m, shrewd.m

*Version 1.10, authors: Ilya Kuprov*