/// <summary>Build a binary table HDU from the supplied data.</summary> /// <param name="table">the array used to build the binary table.</param> /// <exception cref=""> FitsException if there was a problem with the data.</exception> public static Header ManufactureHeader(Data data) { Header hdr = new Header(); data.FillHeader(hdr); return(hdr); }
/// <summary>Create an HDU from the given Data.</summary> /// <param name="datum">The data to be described in this HDU.</param> public static BasicHDU MakeHDU(Data datum) { Header hdr = new Header(); datum.FillHeader(hdr); return(FitsFactory.HDUFactory(hdr, datum)); }
/// <summary>Create a header that describes the given /// image data. /// </summary> /// <param name="o">The image to be described. /// </param> /// <exception cref=""> FitsException if the object does not contain /// valid image data. /// /// </exception> public static Header ManufactureHeader(Data d) { Header h = new Header(); d.FillHeader(h); return(h); }
public static Header ManufactureHeader(Data d) { Header hdr = new Header(); d.FillHeader(hdr); Cursor c = hdr.GetCursor(); return(hdr); }
/// <summary>Make a header point to the given object.</summary> /// <param name="odata">The random groups data the header should describe.</param> internal static Header ManufactureHeader(Data d) { if (d == null) { throw new FitsException("Attempt to create null Random Groups data"); } Header h = new Header(); d.FillHeader(h); return(h); }
/// <summary>Create a header that describes the given image data.</summary> /// <param name="o">The image to be described.</param> /// <exception cref=""> FitsException if the object does not contain valid image data.</exception> public static Header ManufactureHeader(Data d) { if (d == null) { return(null); } Header h = new Header(); d.FillHeader(h); return(h); }
/// <summary>Create a header which points to the given data object.</summary> /// <param name="o">The data object to be described.</param> /// <exception cref="FitsException"> FitsException if the data was not valid for this header.</exception> public Header(Data o) { InitBlock(); o.FillHeader(this); }
/// <summary>Make a header point to the given object.</summary> /// <param name="odata">The random groups data the header should describe.</param> internal static Header ManufactureHeader(Data d) { if (d == null) { throw new FitsException("Attempt to create null Random Groups data"); } Header h = new Header(); d.FillHeader(h); return h; }
/// <summary>Create a header that describes the given /// image data. /// </summary> /// <param name="o">The image to be described. /// </param> /// <exception cref=""> FitsException if the object does not contain /// valid image data. /// /// </exception> public static Header ManufactureHeader(Data d) { Header h = new Header(); d.FillHeader(h); return h; }
/// <summary>Create a header to match the input data.</summary> public static Header ManufactureHeader(Data d) { Header hdr = new Header(); d.FillHeader(hdr); Cursor c = hdr.GetCursor(); return hdr; }
/// <summary>Create an HDU from the given Data.</summary> /// <param name="datum">The data to be described in this HDU.</param> public static BasicHDU MakeHDU(Data datum) { Header hdr = new Header(); datum.FillHeader(hdr); return FitsFactory.HDUFactory(hdr, datum); }
/// <summary>Build a binary table HDU from the supplied data.</summary> /// <param name="data">the array used to build the binary table.</param> /// <exception cref="FitsException"> If there was a problem with the data.</exception> public static Header ManufactureHeader(Data data) { Header hdr = new Header(); data.FillHeader(hdr); return hdr; }
/// <summary>Create a header that describes the given image data.</summary> /// <param name="o">The image to be described.</param> /// <exception cref=""> FitsException if the object does not contain valid image data.</exception> public static Header ManufactureHeader(Data d) { if (d == null) { return null; } Header h = new Header(); d.FillHeader(h); return h; }