Uses of Class
nom.tam.fits.HeaderCard
Package
Description
The core classes of nom-tam-fits.
Standardized FITS header keywords.
Various commonly used classes for nom-tam-fits.
-
Uses of HeaderCard in nom.tam.fits
Modifier and TypeMethodDescriptionHeader.addHexValue
(String key, long val, String comment) Deprecated.Not supported by the FITS standard, so do not use.Add or replace a key with the given boolean value and comment.Add or replace a key with the given number value and comment, using up to the specified decimal places after the leading figure.Add or replace a key with the given number value and comment.Add or replace a key with the given string value and comment.Header.addValue
(String key, ComplexValue val, int decimals, String comment) Add or replace a key with the given complex number value and comment, using up to the specified decimal places after the leading figure.Header.addValue
(String key, ComplexValue val, String comment) Add or replace a key with the given complex number value and comment.Header.addValue
(IFitsHeader key, Boolean val) Add or replace a key with the given boolean value and its standardized comment.Header.addValue
(IFitsHeader key, Number val) Add or replace a key with the given double value and its standardized comment.Header.addValue
(IFitsHeader key, String val) Add or replace a key with the given string value and its standardized comment.Header.addValue
(IFitsHeader key, ComplexValue val) Add or replace a key with the given complex value and its standardized comment.HeaderCardBuilder.card()
get the current build card of the builder.HeaderCard.copy()
Returns an independent copy of this card.static HeaderCard
Creates a new FITS header card from a FITS stream representation of it, which is how the key/value and comment are represented inside the FITS file, normally as an 80-character wide entry.static HeaderCard
HeaderCard.create
(IFitsHeader key, Boolean value) Creates a new card with a standard or conventional keyword and a boolean value, with the default comment associated with the keyword.static HeaderCard
HeaderCard.create
(IFitsHeader key, Number value) Creates a new card with a standard or conventional keyword and a number value, with the default comment associated with the keyword.static HeaderCard
HeaderCard.create
(IFitsHeader key, String value) Creates a new card with a standard or conventional keyword and an integer value, with the default comment associated with the keyword.static HeaderCard
HeaderCard.create
(IFitsHeader key, ComplexValue value) Creates a new card with a standard or conventional keyword and a number value, with the default comment associated with the keyword.static HeaderCard
HeaderCard.createCommentCard
(String text) Creates a new keyed comment card for th FITS header.static HeaderCard
HeaderCard.createCommentStyleCard
(String key, String comment) Creates a comment-style card with no associated value field.static HeaderCard
HeaderCard.createHexValueCard
(String key, long value) Deprecated.Not supported by the FITS standard, so do not use.static HeaderCard
HeaderCard.createHexValueCard
(String key, long value, String comment) Deprecated.Not supported by the FITS standard, so do not use.static HeaderCard
HeaderCard.createHistoryCard
(String text) Creates a new history record for the FITS header.static HeaderCard
HeaderCard.createUnkeyedCommentCard
(String text) Creates a new unkeyed comment card for th FITS header.Finds the card associated with a given key, and returns it.Header.findCard
(IFitsHeader key) Find the card associated with a given key.brief Collect the header cards that match a regular expression.Returns the card associated with a given key.Header.getCard
(IFitsHeader key) Returns the card associated with a given key.Header.insertCommentStyle
(String key, String comment) Adds a line to the header using the COMMENT style, i.e., no '=' in column 9.Header.nextCard()
Returns the header card at the currently set mark position and increments the mark position by one.Header.prevCard()
Returns the header card prior to the currently set mark position and decrements the mark position by one.static HeaderCard
HeaderCard.saveNewHeaderCard
(String key, String comment, boolean hasValue) Deprecated.This was to be used internally only, without public visibility.HeaderCard.setHexValue
(long update) Deprecated.Not supported by the FITS standard, so do not use.Sets a new boolean value for this cardvalueTypefinal HeaderCard
Sets a new number value for this card.Sets a new number value for this card, using scientific (exponential) notation, with up to the specified decimal places showing between the decimal point and the exponent.Sets a new string value for this card.final HeaderCard
HeaderCard.setValue
(ComplexValue update) Sets a new complex number value for this card.HeaderCard.setValue
(ComplexValue update, int decimals) Sets a new complex number value for this card, using scientific (exponential) notation, with up to the specified number of decimal places showing between the decimal point and the exponent.Modifier and TypeMethodDescriptionHeader.getDuplicates()
Returns the list of duplicate cards in the order they appeared in the parsed header.Header.iterator()
Returns a cursor-based iterator for this header's entries starting at the first entry.Header.iterator
(int index) Deprecated.We should never use indexed access to the header.Header.seekHead()
Move the cursor to the end of the header.Header.seekTail()
Move the cursor to the end of the header.Modifier and TypeMethodDescriptionvoid
Header.addLine
(HeaderCard fcard) Insert a new header card at the current position, deleting any prior occurence of the same card while maintaining the current position to point to after the newly inserted card.final void
Header.updateLine
(String key, HeaderCard card) Update an existing card in situ, without affecting the current position, or else add a new card at the current position.void
Header.updateLine
(IFitsHeader key, HeaderCard card) Update a valued entry in the header, or adds a new header entry. -
Uses of HeaderCard in nom.tam.fits.header
Modifier and TypeMethodDescriptionfinal HeaderCard
Bitpix.getHeaderCard()
Returns the standard FITS header card for this BITPIX instance. -
Uses of HeaderCard in nom.tam.util
Modifier and TypeMethodDescriptionfinal FlexFormat
FlexFormat.forCard
(HeaderCard card) Sets the number of characters that this formatter can use to print number values to the space available for the value field in the specified header card.