- Update compatibility for
TypeUtils
.
-
Package renamed as
FITSHeaders
. -
Undefined FITS card value is
undef
(wasmissing
). When creating a FITS card,missing
is considered asundef
. -
Comparison operators (
==
,!=
,<
,>
,≤
, and≥
) can be applied to FITS card values. The other operand may also be a card value. -
Logical value stored as an integer in
FitsCard
. This is an internal change.
-
Update doc.
-
Submitted as an official Julia package.
- Extend
haskey
forFitsHeader
objects.
"TFIELDS"
,"TFORM#"
,"TTYPE#"
, and"TDIM#"
are also structural keywords.
- New non-exported methods:
BaseFITS.is_structural
andBaseFITS.is_naxis
to respectively check whether a FITS card or keyword is a structural or axis one.
- Package
AsType
is nowTypeUtils
.
-
Package is compatible with Julia 1.0.
-
Avoid returning number of bytes written in
show
. -
Date-time format is ISO-8601 as specified by FITS standard.
- Fix creating FITS cards from pairs of type
Pair{<:CardName,<:Any}
which may be the type of the objects in some collections, such as vectors, used to represent FITS header. Non-exportedBaseFITS.CardPair{K<:CardName,V}
is an alias for such pair types.
- Provide support for dates: Card values of type
Dates.DateTime
are automatically converted into string values and, conversely, callingcard.value(DateTime)
,convert(DataTime,card.value)
, andDateTime(card.value)
attempts to convert the string value ofcard
into a date.
-
Use
AsType
package. -
Remove
CompatHelper
.
- Fix silly bug in keyword comparison.
- Use quick table for character class.
-
Package renamed
BaseFITS.jl
. -
FitsHeader
can be built from list of header cards, list of pairs, and named tuples. Here "list" means any iterable producing items of a given type. The same types are allowed formerge
andmerge!
applied to a FITS header. -
Non-exported constants
CarName
,CardValue
,CardComment
, andUndefined
to help converting a pair into a FITS header card. -
BaseFITS.keyword
andBaseFITS.check_keyword
can take a symbolic name as argument.
- Can search cards in FITS header by regular expressions.
- Implement merging of headers with
merge
andmerge!
. length(eachmatch(pat,hdr::FitsHeader))
yields number of matches.- Some bug fixes.
- Package renamed
FITSBase.jl
. - To avoid collisions with
FITSIO.jl
types are prefixed byFits
instead ofFITS
.
- Package name
FITSCards.jl
. - Add
FITSHeader
structure. - New card properties:
card.units
andcard.unitless
.