**SUN/238.9**

Starlink Project

Starlink User Note 238.9

D.S. Berry

Malcolm J. Currie

2022 January 18

KAPLIBS – Internal subroutines used within the KAPPA package.

Version 3.5

Programmer’s Reference

KAPLIBS is a package of Fortran subroutine libraries which were originally written as part of the KAPPA package (a package of general-purpose image-processing and visualization tools). KAPLIBS provides software developers with access to many of the internal KAPPA routines, so that KAPPA-like applications can be written and built independently of KAPPA.

1 Introduction

1.1 Stability of the KAPLIBS Interface

1.2 The Scope of this Document

2 Naming Conventions

3 Compiling and Linking

3.1 Linking with Native PGPLOT

A Changes in Version 3.5

B Changes in Version 3.4

C Changes in Version 3.3

D Changes in Version 3.2

E Changes in Version 3.1

F Changes in Version 3.0

G Changes in Version 2.8

H Changes in Version 2.7

I Changes in Version 2.6

J Changes in Version 2.5

K Changes in Version 2.4

L Changes in Version 2.3

M Changes in Version 2.2

N Changes in Version 2.1

O Changes in Version 2.0

P Routine Descriptions

Q C-only Routine Descriptions

1.1 Stability of the KAPLIBS Interface

1.2 The Scope of this Document

2 Naming Conventions

3 Compiling and Linking

3.1 Linking with Native PGPLOT

A Changes in Version 3.5

B Changes in Version 3.4

C Changes in Version 3.3

D Changes in Version 3.2

E Changes in Version 3.1

F Changes in Version 3.0

G Changes in Version 2.8

H Changes in Version 2.7

I Changes in Version 2.6

J Changes in Version 2.5

K Changes in Version 2.4

L Changes in Version 2.3

M Changes in Version 2.2

N Changes in Version 2.1

O Changes in Version 2.0

P Routine Descriptions

FTS1_NDFCM – Creates the title, units, axes, WCS, and FITS extension in
an NDF from the FITS headers

KPG1_CCPRO – Gets a character component for an output NDF with optional
propagation from another NDF

KPG1_LITNx – Creates linear
transformation expressions between two n-dimensional co-ordinate systems

KPG_TYPSZ – Returns the
number of bytes used to store an item of any of the HDS primitive data types

Q C-only Routine Descriptions