[REDMINE1D-126] [RM-7712] implement masked/flagged spectrum Created: 13/Jun/23  Updated: 18/Jan/24

Status: Open
Project: 1D Redmine
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Redmine-Jira Migtation Assignee: Redmine-Jira Migtation
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Created on 2022-12-12 11:14:35 by Didier Vibert. % Done: 0

2 use cases:

  1. to be able to use the fft templatefitting with flagged samples
    today the client is removing the flagged samples which is incorrect if we rebin the spectrum (for logsampling), or invalidate the regular log-sampliing
  1. to carry inside the rebined templates (derived class of CSpectrum) a mask of the lines when fitting the template for the linemodel. This refactoring will make it easier to implement the multi-obs for the linemodel (#6028) to not propagate through the whole hierarchy of calls a vector of vector of masks. EDIT this is not relevant anymore, since the implementation of the maskBuilder class

TODO:

  • add a member mask inside CSpectralAxis (TBC)
  • implement the CRebin class (and CSpectrum::rebin) with a mask (mask the interpolated samples computed from masked samples)
  • implement the templatefittinglog operator with masks
  • remove the mask from templatefitting operator methods, use instead the intersection of both masks (the one in the spectrum and the one in the template)


 Comments   
Comment by Redmine-Jira Migtation [ 18/Jan/24 ]

Comment by Didier Vibert on 2024-01-11 14:42:52:
@aallaoui tu veux faire ça dans le cadre de #6028 (dans ce cas liste là en sous-tâche) ou on fera après ?

Comment by Redmine-Jira Migtation [ 18/Jan/24 ]

Comment by Ali Allaoui on 2024-01-16 14:24:59:
D'après ce que je comprends c'est clairement une sous-tâche de #6028 qui bloquerait une autre sous-tâche à définir "Implement fft templatefitting in full multiobs"

Comment by Redmine-Jira Migtation [ 18/Jan/24 ]

Comment by Didier Vibert on 2024-01-16 14:34:51:
Ali Allaoui wrote in #note-4:
> D'après ce que je comprends c'est clairement une sous-tâche de #6028 qui bloquerait une autre sous-tâche à définir "Implement fft templatefitting in full multiobs"

ok je la bascule en sous-tache de 6028 pour l'implémentation du mask dans CSpectrum et le passage du masque des raies pour le linemodel.

pour le reste (template fitting fft et masque) ou peut créer une nouvelle issue qui est dépendante (bloquée par) celle-ci mais pas en sous-tache du multi-obs. En fait, il s'agit plutôt de mettre à jour #5653

note: cette issue n'a rien avoir avec "Implement fft templatefitting in full multiobs" qui est encore autre chose.

Comment by Redmine-Jira Migtation [ 18/Jan/24 ]

Comment by Didier Vibert on 2024-01-16 15:25:35:
suite à discussion avec @aallaoui la dépendance avec le full multi-obs mentionné dans la description n'a plus lieu d'être, en particulier avec l'implémentation déjà mergée du maskbuilder.

Generated at Sat Feb 10 15:29:34 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.