Creating a Frame is straightforward and follows the usual pattern:
#include "ast.h" astFrame *frame; ... frame = astFrame( 2, "" );
The first argument of the astFrame constructor function specifies the
number of axes which the Frame should have.
AST A Library for Handling World Coordinate Systems in Astronomy