Object

com.astrolabsoftware.sparkfits

FitsLib

Related Doc: package sparkfits

Permalink

object FitsLib

This is the beginning of a FITS library in Scala. You will find a large number of methodes to manipulate Binary Table HDUs. There is no support for image HDU for the moment.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FitsLib
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Fits extends AnyRef

    Permalink

    Main class to handle a HDU of a fits file.

    Main class to handle a HDU of a fits file. Main features are

    • Retrieving a HDU (block) of data
    • Split the HDU into a header and a data block
    • Get informations on data from the header (column name, element types, ...)
  2. case class FitsBlockBoundaries(headerStart: Long = 0L, dataStart: Long = 0L, dataStop: Long = 0L, blockStop: Long = 0L) extends Product with Serializable

    Permalink

    Class to hold block boundaries.

    Class to hold block boundaries. These values are computed at first file scan then encoded to be broadcasted to all datanodes through the Hadoop configuration block.

    headerStart

    : (Long) Starting byte of the header blocks

    dataStart

    : (Long) Starting byte of the data blocks

    dataStop

    : (Long) Last byte of non-zero data (could be in a middle of a data block)

    blockStop

    : (Long) Last byte of the data blocks (data blocks are multiple of 2880 bytes)

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val BYTE_SIZE: Int

    Permalink
  5. val FITSBLOCK_SIZE_BYTES: Int

    Permalink
  6. val FITS_HEADER_CARD_SIZE: Int

    Permalink
  7. val MAX_KEYWORD_LENGTH: Int

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def parseHeader(header: Array[String]): Map[String, String]

    Permalink

    Decompose each line of the header into (key, value).

    Decompose each line of the header into (key, value).

    header

    : (Array[String]) The header of the HDU.

    returns

    (Map[String, String]), map array with (keys, values).

  20. val separator: String

    Permalink
  21. def shortStringValue(s: String): String

    Permalink

    Remove single quotes around a string, and trim the resulting string.

    Remove single quotes around a string, and trim the resulting string. e.g. "'toto '" would return "toto".

    s

    : (String) Input string.

    returns

    (String), Trimmed input String without the starting and ending single quotes.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped