I want to quantify sp2 content and sp3 content from the C_K edge EELS of probed volume of the sample. Can anyone suggest that how to subtract the background from the spectra?
This can be done in a straightforward manner based on the software your using and/or the system the data is acquired. It is based on the basic theory found in any standard text such as Egerton.
But, for practical application, please look at the following paper: https://www.researchgate.net/publication/223613042_Electron_energy_loss_spectroscopy_of_carbonaceous_materials
Or, if you want a more specialist analysis, you could try reading the following: https://www.researchgate.net/publication/235561601_Electron-energy-loss_spectroscopy_characterization_of_the_sp_2_bonding_fraction_within_carbon_thin_films._Phys._Rev._62_12628-12631
Article Electron energy loss spectroscopy of carbonaceous materials
Article Electron-energy-loss spectroscopy characterization of the sp...
You might want to first check your energy scale; if that is the O Kedge at ~540, its onset should be at 532. The simplest background is a power law A x^(-B), with B between 3 and 4. The short pre-edge window before the C K edge means that your fitted background can be quite far off under the O K edge, so be careful with quantitative analysis (C/O ratio).
Thank you for your response. I used Fityk for this job and attached the same here. Zero loss peak position is shifted from origin here, that I have taken care for my calculation. This is taken for graphite and I did similar subtraction for my sample also. I calculated the sp3 and sp2 fraction with reference to graphite data. I'm not interested in oxygen peak.