pub fn is_complete(&self) -> bool {
        if self.npoints as usize == self.y_values.len() {
            return true
        } else {
            debug_println!("Incomplete! npoints {}, y_values.len() {}", self.npoints, self.y_values.len());
            return false
        }
    }
// Checks the last index of x to see if the spectrum has been fully filled with y values
Checks the last index of x to see if the spectrum has been fully filled with y values
Checks the last index of x to see if the spectrum has been fully filled with y values
pub fn is_complete(&self) -> bool {
        if self.npoints as usize == self.y_values.len() {
            return true
        } else {
            debug_println!("Incomplete! npoints {}, y_values.len() {}", self.npoints, self.y_values.len());
            return false
        }
    }
pub fn is_complete ( & self ) -> bool { if self . npoints as usize == self . y_values . len ( ) { return true } else { debug_println ! ( " " self npoints self y_values len ( ) ) ; return false } }
Checks the last index of x to see if the spectrum has been fully filled with y values
Checks the last index of x to see if the spectrum has been fully filled with y values
&self
&self