| 734 | |
| 735 | |
| 736 | void |
| 737 | DeepData::init (int npix, int nchan, |
| 738 | const TypeDesc *chbegin, const TypeDesc *chend) |
| 739 | { |
| 740 | clear (); |
| 741 | npixels = npix; |
| 742 | nchannels = nchan; |
| 743 | channeltypes.assign (chbegin, chend); |
| 744 | nsamples.resize (npixels, 0); |
| 745 | pointers.resize (size_t(npixels)*size_t(nchannels), NULL); |
| 746 | } |
| 747 | |
| 748 | |
| 749 |