Associate the FITS object with a file or URL. * The string is assumed to be a URL if it begins one of the protocol strings. If the string ends in .gz it is assumed that the data is in a compressed format. All string comparisons are case insensitive. *
Namespace: nom.tam.fits
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New( _ ByVal filename As String _ ) |
C# |
---|
public Fits( string filename ) |
C++ |
---|
public: Fits( String filename ) sealed |
J# |
---|
public Fits( string filename ) |
JScript |
---|
public function Fits( filename : String ) |
Parameters
- filename
- The name of the file or URL to be processed.
Exceptions
Exception Type | Condition |
---|---|
FitsException Thrown if unable to find or open a file or URL from the string given. (broken link "!:") | FitsException Thrown if unable to find or open a file or URL from the string given. |