Skip to content

change flag method and column name - #1

Open
Anqi-Li-rug wants to merge 1 commit into
apertif:masterfrom
Anqi-Li-rug:flag
Open

change flag method and column name#1
Anqi-Li-rug wants to merge 1 commit into
apertif:masterfrom
Anqi-Li-rug:flag

Conversation

@Anqi-Li-rug

Copy link
Copy Markdown

(1) Create a copy of 'DATA' column as 'DATA_ori' column, to backup original data. Then directly write AAF-calibrated data into "DATA" column.

(2)In the previous version, flagged data were simply set into "np.nan", however CASA won't accept such values. Thus in this version, flagged data were set into zeros, and the corresponding values in FLAG column were changed into "True".

In conclusion, two columns were changed in the output MS:
"DATA": now stores AAF-calibrated data.
"FlAG": missing subbands and channel 0 of each subbands were flagged.

Add one more column into MS: "DATA_ori", which is a backup for original non-AAF-calibrated data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant