A mass spectrometer and/or ion mobility spectrometer comprising: a first device comprising a laser device arranged and adapted to generate aerosol, smoke or vapour from a sample; a device arranged and adapted to automatically translate said sample relative to said first device any one or more of before, during, and after obtaining mass spectral data and/or ion mobility data from at least some of said locations on said sample; a collision surface located within a vacuum chamber of said mass spectrometer and/or ion mobility spectrometer; a device arranged and adapted to add a matrix to said aerosol, smoke or vapour prior to said aerosol, smoke or vapour impacting upon said collision surface; and a control system arranged and adapted: (i) to automatically sample a plurality of different locations on said sample using said first device and to obtain mass spectral data and/or ion mobility data corresponding to each said location; and (ii) to use said obtained mass spectral data and/or ion mobility data to construct, train or improve a sample classification model; wherein in use at least some of said aerosol, smoke or vapour and matrix is caused to impact upon said collision surface wherein at least some of said aerosol, smoke or vapour is ionized upon impacting said collision surface so as to generate analyte ions; and wherein said matrix is selected from the group consisting of: (i) a solvent for said aerosol, smoke or vapour; (ii) an organic solvent; (iii) a volatile compound; (iv) polar molecules; (v) water; (vi) one or more alcohols; (vii) methanol; (viii) ethanol; (ix) isopropanol; (x) acetone; (xi) acetonitrile; (xii) 1-butanol; (xiii) tetrahydrofuran; (xiv) ethyl acetate; (xv) ethylene glycol; (xvi) dimethyl sulfoxide; (xvii) an aldehyde; (xviii) a ketone; (xiv) non-polar molecules; (xx) hexane; (xxi) chloroform; (xxii) butanol; and (xxiii) propanol or wherein said matrix comprises a lockmass or calibration compound. a first device comprising a laser device arranged and adapted to generate aerosol, smoke or vapour from a sample; a device arranged and adapted to automatically translate said sample relative to said first device any one or more of before, during, and after obtaining mass spectral data and/or ion mobility data from at least some of said locations on said sample; a collision surface located within a vacuum chamber of said mass spectrometer and/or ion mobility spectrometer; a device arranged and adapted to add a matrix to said aerosol, smoke or vapour prior to said aerosol, smoke or vapour impacting upon said collision surface; and a control system arranged and adapted: (i) to automatically sample a plurality of different locations on said sample using said first device and to obtain mass spectral data and/or ion mobility data corresponding to each said location; and (ii) to use said obtained mass spectral data and/or ion mobility data to construct, train or improve a sample classification model; (i) to automatically sample a plurality of different locations on said sample using said first device and to obtain mass spectral data and/or ion mobility data corresponding to each said location; and (ii) to use said obtained mass spectral data and/or ion mobility data to construct, train or improve a sample classification model; wherein in use at least some of said aerosol, smoke or vapour and matrix is caused to impact upon said collision surface wherein at least some of said aerosol, smoke or vapour is ionized upon impacting said collision surface so as to generate analyte ions; and wherein said matrix is selected from the group consisting of: (i) a solvent for said aerosol, smoke or vapour; (ii) an organic solvent; (iii) a volatile compound; (iv) polar molecules; (v) water; (vi) one or more alcohols; (vii) methanol; (viii) ethanol; (ix) isopropanol; (x) acetone; (xi) acetonitrile; (xii) 1-butanol; (xiii) tetrahydrofuran; (xiv) ethyl acetate; (xv) ethylene glycol; (xvi) dimethyl sulfoxide; (xvii) an aldehyde; (xviii) a ketone; (xiv) non-polar molecules; (xx) hexane; (xxi) chloroform; (xxii) butanol; and (xxiii) propanol or wherein said matrix comprises a lockmass or calibration compound.