dynamics-of-stellar-systems / dynamite

dynamics, age and metallicity indicators tracing evolution
MIT License
10 stars 1 forks source link

Remove `nn_orbmat.out` #377

Closed prashjet closed 2 months ago

prashjet commented 3 months ago

We are currently storing the matrix of size (N_orb, N_bins * 6) in nn_orbmat.out. This is >100 larger than any other output file.

In previous versions (schwpy) this file wasn't stored. I decided to store this since it was useful to when re-implementing weight solving in Python. For the dimensions of the problem we were using at the time, nn_orbmat.out was no larger than other outputs, so I didn't think it would cause a problem. I didn't correctly extrapolate this change into the future, and more or less forgot about it since then. Clearly this was a mistake - my apologies!

Can we safely delete the nn_orbmat.out files? If so, let's do it! If not, then:

  1. what data do we need to extract from the files, and
  2. what dynamite methods do we need to modify,

before we can safely deletenn_orbmat.out.

maindlt commented 2 months ago

Looking at the model folder, there are only two files in case of the Python NNLS solver (the weights file orbit_weights.ecsv and the copy of the config file), but many additional nn* files when using LegacyWeightSolver, including the mentioned nn_orbmat.out as the largest one. Here's an assessment: