-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for DL3 protons #1331
Comments
I am testing this on a merged DL2 file which I created with the DL1 to DL2 script of lstchain. If one tries to make the source information not required by default and use the simulated data to compute the sky direction offsets in
P.S: the DL2 file in question is |
A DL3 file should correspond to a GTI (with no significant change of IRF within the run, I think), so using a merged DL2 file with a wide variety of different pointings (hence thresholds, and IRF in general) would be wrong in any case. I thin that as a start, you should only merge files from the same pointing node (other issues may pop up later). |
I did not merge the runs myself, this is file is a DL2 transformation of the DL1 dataset from the IT cluster used as training dataset of another production, which means that models used to produce the IRFs are also trained mixing all this information before hand if this is not a problem than perhaps lstchain dl2_to_dl3 should deal with this scenario by running on chunks of data with the same properties and then write a set of DL3 files one for each corresponding pointing/IRFs or there should be a script than "unmerges" the files and runs the DL2-to-DL3 transformation on each chunk am I correct? |
That is a different thing. For training you can of course mix, as long as the pointing parameters are among the RF inputs. This allows us to process all data of a given project (~same declination) with the same RF. To create DL2 and DL3 files from protons you should use test MC, not training MC. We do not have standard protons test MC, so the only solution would be to spare some of the training protons (i.e, not use them in growing the RFs) and reserve them for creating the DL3 with them (on a pointing-by-pointing basis). What were the RFs used for the dl1 to dl2 transformation? You say "...as training dataset of another production", that is confusing. It is not right to apply the RFs of one production to another (with different parameters).
Yes, but the solution is not to do the merging, right? |
I know this, but I had not time to produce test protons, so I preferred to go for an approximation and use the protons from a very similar production to make a background model and get a preliminary result.
yes sorry there should ba a dl3 run for each dl2 run, so run the DL2-to-DL3 transformation on each run pertaining to the same IRF node of the DL2 merged file with the settings used for the IRFs of that node |
Still, I think the source name and ra/dec part is relevant: currently the script cannot run on a MC proton file because that is not a source which can be found on catalogs like the script is attempting to do now |
I think you can just give the coordinates, no need for the source name. They are written as metatada in the HDU headers. |
Shouldn't the source and ra/dec you give here still be the source you are interested in if the goal is to create a background model for that source? |
The tool
lstchain_create_dl3_file
currently expects at least a simulated source with either a name or coordinatesIn case of simulated protons used to create background models (e.g. because of lack of OFF sources for the source we are interested in) we would start from diffuse all-sky simulations of a source which has no name and which "true" coordinates are the ones simulated.
Apologies if this is already possible somehow, I could have overlooked.
The text was updated successfully, but these errors were encountered: