erdzeichen / KiMoPack

GNU General Public License v3.0
11 stars 5 forks source link

Cutting out second wavelength area in the spectrum (e.g. second harmonic) #29

Closed T3lPie closed 2 months ago

T3lPie commented 3 months ago

Hey folks,

I was just asking if it is possible to cut out a second wavelength area in the spectrum? For example you have already cut out the excitation wavelength at 380-400nm but also want to cut out the second harmonic at 780nm. Is it possible in the code to add that?

Cheers, Lukas

PhotonChemist commented 3 months ago

Hey Lukas,

This is already possible, if I understood you right. If I remember correctly you just have to use list instead of intergers as argument, when using the scattercut function. For example: ta.scattercut([380,480],[770,790])

Best regards, Louis

erdzeichen commented 3 months ago

Hey, that is correct, both the ignore time range and scattercut can be stacked. So give it a list of lists. Just make sure that it is always first smaller and then larger. I believe i check for that, but not sure how careful i was there. Best Jens